Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001009/0.001009, allocations: 80.8 kB / 21.5 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.001191/0.001191, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2443/0.2443, allocations: 32.81 MB / 294.6 MB, free: 1.164 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.313e-05, allocations: 3.156 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002213/0.002236, allocations: 1.653 MB / 324.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.00292, allocations: 0.5568 MB / 325.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.002968, allocations: 0 / 325.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.003414, allocations: 459.1 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.003774, allocations: 295.1 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.004078, allocations: 167.5 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004262, allocations: 179.6 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.36e-05/0.004335, allocations: 8.625 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004466, allocations: 119.7 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.004615, allocations: 203.6 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.004629, allocations: 4 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.004682, allocations: 27.92 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.004754, allocations: 87.7 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.004787, allocations: 39.73 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004952, allocations: 187.2 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004954, allocations: 3.938 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004955, allocations: 0 / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004958, allocations: 0 / 327.2 MB, free: 5.695 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.0004575/0.005416, allocations: 0.5461 MB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005444, allocations: 12.03 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.005477, allocations: 20.91 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.005637, allocations: 246.1 kB / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.005644, allocations: 384 / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.005653, allocations: 4.375 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.00574, allocations: 62.94 kB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.005745, allocations: 192 / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.005752, allocations: 4.125 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.005756, allocations: 0 / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.005771, allocations: 8 kB / 328.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.005996, allocations: 199 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.006043, allocations: 26.56 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.006058, allocations: 12.92 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.006071, allocations: 0 / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.006089, allocations: 30.56 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.00609, allocations: 0 / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001062/0.006196, allocations: 73.61 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.006221, allocations: 51.41 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.006513, allocations: 0.5361 MB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.006523, allocations: 25.7 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.006576, allocations: 145.3 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.00659, allocations: 3.953 kB / 329.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.006723, allocations: 21.7 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.006805, allocations: 358.6 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.006816, allocations: 4 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.006824, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.006852, allocations: 23.61 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006854, allocations: 0 / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.574e-05/0.006909, allocations: 53.67 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006922, allocations: 15.94 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006926, allocations: 0 / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006938, allocations: 3.984 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.006987, allocations: 4 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006989, allocations: 0 / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.007011, allocations: 4 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.007016, allocations: 0 / 329.7 MB, free: 3.062 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 (3): * Single equations (assignments): 3 * 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 6.216e-05/0.007078, allocations: 120.6 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.007099, allocations: 15.98 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.688e-05/0.007196, allocations: 89 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007199, allocations: 8 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0072, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007203, allocations: 3.984 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.007318, allocations: 133.7 kB / 330 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007319, allocations: 0 / 330 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.007341, allocations: 11.98 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.007342, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.007346, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007347, allocations: 4 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.00735, allocations: 7.938 kB / 330 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.575e-05/0.007426, allocations: 163.4 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.00745, allocations: 35.72 kB / 330.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.007462, allocations: 0 / 330.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.007498, allocations: 4 kB / 330.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-06/0.007508, allocations: 7.922 kB / 330.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.00751, allocations: 0 / 330.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.007681, allocations: 283.2 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007681, allocations: 0 / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.007815, allocations: 23.95 kB / 330.5 MB, free: 2.113 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 (3): * Single equations (assignments): 3 * 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.0008903/0.008706, allocations: 438.1 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.638e-05/0.008762, allocations: 16.84 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.008768, allocations: 4 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.008778, allocations: 12.8 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.008953, allocations: 30.3 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.009492, allocations: 0.5749 MB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.009562, allocations: 119.2 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.00959, allocations: 4 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.009637, allocations: 55.38 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009637, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of Templates: time 0.003663/0.0133, allocations: 1.284 MB / 333.1 MB, free: 15.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.8816824620589614]