Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001253/0.001253, allocations: 80.31 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.00169/0.00169, allocations: 172.4 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 1.034/1.034, allocations: 177.1 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1442/0.1442, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.287e-05, allocations: 6.25 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002903/0.002936, allocations: 1.634 MB / 378.9 MB, free: 23.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003971, allocations: 0.5258 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.004059, allocations: 0 / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.004326, allocations: 31.78 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.004671, allocations: 71.62 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.00499, allocations: 123.6 kB / 379.7 MB, free: 23.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.005139, allocations: 63.78 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005244, allocations: 15.84 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.005311, allocations: 23.92 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.005376, allocations: 23.91 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.005392, allocations: 4 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.005471, allocations: 31.92 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.005519, allocations: 11.94 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.005546, allocations: 19.91 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.005694, allocations: 67.69 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005696, allocations: 4 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005697, allocations: 0 / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005701, allocations: 4 kB / 379.9 MB, free: 22.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000346/0.006047, allocations: 404.2 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.006084, allocations: 11.98 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.006129, allocations: 8.891 kB / 380.3 MB, free: 22.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.006266, allocations: 144.4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.006276, allocations: 384 / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.006293, allocations: 4.375 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/0.006392, allocations: 54.89 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006402, allocations: 4.188 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.006411, allocations: 8.125 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006417, allocations: 0 / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.006444, allocations: 7.984 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.00669, allocations: 244.5 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.006848, allocations: 42.98 kB / 380.8 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.006869, allocations: 15.69 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.006886, allocations: 0 / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.006905, allocations: 37.33 kB / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006907, allocations: 0 / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003361/0.007243, allocations: 109.8 kB / 381 MB, free: 21.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.007269, allocations: 51.41 kB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.007368, allocations: 191.8 kB / 381.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.007378, allocations: 33.64 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.007421, allocations: 142.8 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.007445, allocations: 15.86 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.007478, allocations: 23.38 kB / 381.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.007543, allocations: 0.4884 MB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.007559, allocations: 4 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.007576, allocations: 7.984 kB / 381.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.007617, allocations: 31.8 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007617, allocations: 0 / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.709e-05/0.007705, allocations: 65.58 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.007721, allocations: 4 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.007727, allocations: 0 / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.00774, allocations: 7.984 kB / 382 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.0078, allocations: 11.98 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007803, allocations: 0 / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.00783, allocations: 4 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007836, allocations: 4 kB / 382.1 MB, free: 20.57 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 (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 4.993e-05/0.007886, allocations: 156.6 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.007919, allocations: 15.83 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.008041, allocations: 70.08 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008043, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008046, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008049, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.008287, allocations: 298 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008288, allocations: 0 / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.008335, allocations: 11.98 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008337, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.008342, allocations: 4 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008344, allocations: 4 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008345, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.008446, allocations: 212 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.008455, allocations: 3.953 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.00847, allocations: 4.062 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.00853, allocations: 4 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.008558, allocations: 3.984 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.008563, allocations: 11.88 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.008624, allocations: 146.1 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008624, allocations: 0 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.008889, allocations: 15.98 kB / 383 MB, free: 19.57 MB / 314.7 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.001081/0.009969, allocations: 388.6 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.01007, allocations: 27.67 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01007, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.0101, allocations: 23.62 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.0104, allocations: 24.48 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.01073, allocations: 168.5 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.01076, allocations: 63.2 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.01081, allocations: 11.98 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.01087, allocations: 82.2 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01087, allocations: 0 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of Templates: time 0.003321/0.01419, allocations: 1.281 MB / 385.1 MB, free: 17.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 3.3633600450120866]