Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.0009557/0.0009557, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009985/0.0009985, allocations: 175.1 kB / 24.92 MB, free: 9.184 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.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2428/0.2428, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.508e-05, allocations: 7.125 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002204/0.002229, allocations: 1.641 MB / 324.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003549, allocations: 1.282 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.003606, allocations: 0 / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.003816, allocations: 27.77 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.004077, allocations: 91.48 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.004251, allocations: 87.66 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.004367, allocations: 71.81 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.00444, allocations: 4 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.004497, allocations: 39.91 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.004581, allocations: 23.91 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.004595, allocations: 4 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.004707, allocations: 91.81 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.004746, allocations: 15.92 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.004771, allocations: 15.92 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.004949, allocations: 131.6 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004952, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004953, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004957, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.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.0003164/0.005274, allocations: 309.4 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.005303, allocations: 16.03 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.005332, allocations: 4.938 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.005456, allocations: 129.7 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005465, allocations: 384 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005484, allocations: 384 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.005595, allocations: 98.36 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005602, allocations: 192 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.00561, allocations: 8.062 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005615, allocations: 0 / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.005632, allocations: 4 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.005821, allocations: 171.7 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.005944, allocations: 34.55 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.005958, allocations: 12.92 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.005974, allocations: 3.938 kB / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.006125, allocations: 34.56 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.006125, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002414/0.006367, allocations: 81.56 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.0064, allocations: 81.11 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.006489, allocations: 144.3 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.006498, allocations: 29.7 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.006532, allocations: 96.06 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.006547, allocations: 11.84 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.006572, allocations: 25.64 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.006639, allocations: 322.8 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.006649, allocations: 4 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.006676, allocations: 43.41 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.0067, allocations: 16.86 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006701, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.165e-05/0.006753, allocations: 57.8 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.006772, allocations: 8 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006778, allocations: 8.031 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.00679, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.006831, allocations: 8 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006834, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.006854, allocations: 7.984 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.00686, allocations: 3.984 kB / 328.5 MB, free: 4.219 MB / 298.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 5.129e-05/0.006911, allocations: 112.7 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.006929, allocations: 11.94 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.007013, allocations: 58.08 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007015, allocations: 0 / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.007017, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.007019, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.007192, allocations: 206.8 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007194, allocations: 7.938 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.007222, allocations: 15.92 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007223, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.007228, allocations: 4 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007229, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00723, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.571e-05/0.007296, allocations: 135.5 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.007307, allocations: 23.88 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007318, allocations: 4 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.007348, allocations: 4.188 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.007372, allocations: 3.984 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.007375, allocations: 4 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.007408, allocations: 34 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007408, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.007571, allocations: 43.8 kB / 329.1 MB, free: 3.5 MB / 298.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.001296/0.008867, allocations: 0.6315 MB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.008935, allocations: 20.86 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.008938, allocations: 0 / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.008955, allocations: 20.84 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.009101, allocations: 27.86 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.009362, allocations: 158.5 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.009398, allocations: 63.34 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.028e-05/0.009439, allocations: 8.25 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.0095, allocations: 71.34 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0095, allocations: 0 / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003647/0.01315, allocations: 1.989 MB / 332.1 MB, free: 0.7969 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.901011493988335]