Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 203.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.76/1.76, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003338/0.336, allocations: 1.593 MB / 0.5626 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.338, allocations: 1.24 MB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.3381, allocations: 3.938 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.3383, allocations: 23.86 kB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3387, allocations: 91.61 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.339, allocations: 119.2 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3392, allocations: 63.84 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3393, allocations: 15.97 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.3393, allocations: 27.86 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3395, allocations: 31.84 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3395, allocations: 4 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3397, allocations: 87.89 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.3397, allocations: 27.91 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3398, allocations: 15.94 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.34, allocations: 137.9 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.34, allocations: 4 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.34, allocations: 0 / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.34, allocations: 0 / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005214/0.3406, allocations: 329.6 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3406, allocations: 15.97 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.3406, allocations: 12.89 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3408, allocations: 126.4 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3409, allocations: 384 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3409, allocations: 16.36 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3411, allocations: 89.22 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3411, allocations: 0 / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3411, allocations: 8 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3411, allocations: 0 / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3412, allocations: 27.91 kB / 0.5651 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.3416, allocations: 228.5 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.3418, allocations: 42.55 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.3419, allocations: 20.86 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3419, allocations: 0 / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.3419, allocations: 42.58 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3419, allocations: 0 / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005845/0.3425, allocations: 145.5 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.3426, allocations: 81.05 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3428, allocations: 144.8 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3428, allocations: 29.7 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3428, allocations: 92.14 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3429, allocations: 27.72 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3429, allocations: 17.72 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3431, allocations: 326.8 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.3431, allocations: 19.98 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3432, allocations: 55.41 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3434, allocations: 56.81 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3434, allocations: 4.031 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002078/0.3436, allocations: 89.56 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3436, allocations: 4 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3436, allocations: 3.938 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3436, allocations: 0 / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.3437, allocations: 16.23 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3437, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.3438, allocations: 11.98 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3438, allocations: 0 / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.3439, allocations: 121.8 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3439, allocations: 7.953 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.3442, allocations: 102 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3442, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3442, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3442, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.3446, allocations: 302.1 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3446, allocations: 4 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.3447, allocations: 15.98 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3447, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3447, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3447, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3447, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.345, allocations: 191.3 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.345, allocations: 7.953 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.345, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.3451, allocations: 11.98 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3451, allocations: 11.94 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3451, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3452, allocations: 115.2 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3455, allocations: 39.86 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/0.3475, allocations: 0.5176 MB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3477, allocations: 51.89 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3477, allocations: 0 / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.3478, allocations: 27.98 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3481, allocations: 28.84 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.3486, allocations: 165.6 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.502e-05/0.3487, allocations: 83.02 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.3487, allocations: 23.7 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.3488, allocations: 19.42 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3488, allocations: 0 / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.005136/0.3539, allocations: 1.865 MB / 0.5701 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.511797715909779]