Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001363/0.001363, 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.0009743/0.0009743, allocations: 161.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 0.9079/0.9079, allocations: 177.1 MB / 206 MB, free: 4.473 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.1516/0.1516, allocations: 34.26 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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.732e-05, allocations: 10.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002563/0.00258, allocations: 1.685 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004005, allocations: 1.282 MB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.004067, allocations: 0 / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.004262, allocations: 27.84 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.004583, allocations: 91.48 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.00486, allocations: 131.6 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.004992, allocations: 75.77 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.005078, allocations: 8 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.005156, allocations: 47.83 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.005255, allocations: 31.89 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.005271, allocations: 8 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.00542, allocations: 91.83 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.005472, allocations: 15.92 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.005497, allocations: 19.92 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.005713, allocations: 139.5 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.005715, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005716, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00572, allocations: 0 / 383 MB, free: 19.72 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.0003715/0.006092, allocations: 432 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.006127, allocations: 12.03 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.006168, allocations: 12.89 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.006302, allocations: 139.6 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.006312, allocations: 4.312 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.006331, allocations: 8.375 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.006459, allocations: 108 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.00647, allocations: 4.188 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.006479, allocations: 4.125 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006485, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.006517, allocations: 11.97 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.006758, allocations: 272.3 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.006823, allocations: 35.05 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.006841, allocations: 11.69 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.006857, allocations: 0 / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.006873, allocations: 41.33 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.006875, allocations: 0 / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003761/0.007251, allocations: 117.5 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.007277, allocations: 81.09 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.007374, allocations: 192.2 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.007383, allocations: 33.7 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.007417, allocations: 138.9 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.007442, allocations: 35.67 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.007478, allocations: 23.36 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.007529, allocations: 0.4884 MB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.007549, allocations: 7.984 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.007586, allocations: 57.06 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.007629, allocations: 23.67 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00763, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.501e-05/0.007725, allocations: 69.58 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.007736, allocations: 12.03 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007741, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.00775, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.00783, allocations: 23.86 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007833, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.00787, allocations: 4 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.007876, allocations: 4 kB / 385.3 MB, free: 17.12 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 (7): * Single equations (assignments): 7 * 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.328e-05/0.00793, allocations: 160.6 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.007967, allocations: 19.88 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.008088, allocations: 70.45 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00809, allocations: 7.938 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008091, allocations: 288 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.008095, allocations: 0 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.008348, allocations: 314.4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00835, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.008407, allocations: 19.97 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008409, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.008415, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008416, allocations: 4 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008418, allocations: 4.016 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.008528, allocations: 223.8 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.00854, allocations: 11.94 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008555, allocations: 0 / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.008624, allocations: 4 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.008652, allocations: 11.98 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.008657, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.0087, allocations: 143.2 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0087, allocations: 0 / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.009036, allocations: 39.88 kB / 386.3 MB, free: 16.04 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 (7): * Single equations (assignments): 7 * 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.001262/0.0103, allocations: 495.5 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.0104, allocations: 43.58 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0104, allocations: 0 / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.01044, allocations: 23.67 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01075, allocations: 26.77 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.01106, allocations: 198.2 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.01109, allocations: 63.34 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.01115, allocations: 11.98 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.01123, allocations: 90.19 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01123, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.004161/0.01539, allocations: 2.207 MB / 389.5 MB, free: 13.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.8997883899137378]