Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001289/0.001289, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009458/0.0009458, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.904/0.904, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.1553/0.1553, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/1.015e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001914/0.001925, allocations: 1.642 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.002753, allocations: 0.5375 MB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.002819, allocations: 0 / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.003076, allocations: 83.69 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.003352, allocations: 103.5 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.003616, allocations: 115.6 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003765, allocations: 87.73 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.816e-05/0.003853, allocations: 8 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.003923, allocations: 55.81 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.004021, allocations: 47.88 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.004034, allocations: 4 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.004121, allocations: 51.92 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.004166, allocations: 27.91 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.00419, allocations: 7.938 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004339, allocations: 95.66 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00434, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004341, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004344, allocations: 3.938 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003218/0.004666, allocations: 443.8 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.004696, allocations: 8.031 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.004733, allocations: 16.84 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004852, allocations: 145.1 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004862, allocations: 4.375 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.004879, allocations: 384 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.004976, allocations: 70.91 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.004986, allocations: 192 / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.004994, allocations: 4.125 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004999, allocations: 0 / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.005029, allocations: 15.92 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.005258, allocations: 268.4 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.005313, allocations: 35.06 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.005333, allocations: 23.77 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.005346, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.005363, allocations: 41.27 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005364, allocations: 4 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004782/0.005842, allocations: 149.4 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.005866, allocations: 51.41 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.005981, allocations: 234.8 kB / 383.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.005989, allocations: 33.64 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.006031, allocations: 154.8 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.006056, allocations: 35.73 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.006093, allocations: 31.36 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.006143, allocations: 0.4962 MB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.00616, allocations: 4 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.006178, allocations: 12 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.006224, allocations: 35.61 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.006225, allocations: 3.938 kB / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.352e-05/0.006319, allocations: 69.62 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.00633, allocations: 6.188 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.006335, allocations: 0 / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.006344, allocations: 4 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.006416, allocations: 15.98 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.00642, allocations: 4 kB / 384.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.006448, allocations: 0 / 384.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006455, allocations: 4 kB / 384.5 MB, free: 17.92 MB / 314.7 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 (8): * Single equations (assignments): 8 * 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 5.148e-05/0.006507, allocations: 164.5 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.006541, allocations: 15.91 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.006677, allocations: 91.42 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006679, allocations: 0 / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00668, allocations: 0 / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006683, allocations: 4 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.006976, allocations: 349.6 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006978, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.00703, allocations: 15.94 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007032, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.00704, allocations: 8.406 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007041, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007042, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007149, allocations: 239.5 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.007162, allocations: 11.91 kB / 385.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007176, allocations: 4.031 kB / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.00724, allocations: 15.97 kB / 385.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.007264, allocations: 0 / 385.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.007269, allocations: 7.938 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.007328, allocations: 171.1 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007328, allocations: 0 / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.007626, allocations: 23.94 kB / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001187/0.008812, allocations: 428.7 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.00891, allocations: 39.67 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008911, allocations: 0 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.008945, allocations: 35.59 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.009264, allocations: 21.36 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.009573, allocations: 228.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.009608, allocations: 75.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.009655, allocations: 20.77 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.00971, allocations: 82.14 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009711, allocations: 0 / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.003791/0.0135, allocations: 1.551 MB / 388.1 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9044106737710536]