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.001355/0.001355, 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.001105/0.001105, allocations: 171.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.9782/0.9782, allocations: 177.1 MB / 206 MB, free: 4.48 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.1472/0.1472, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.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.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.194e-05, allocations: 5.406 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002072/0.002094, allocations: 1.649 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.002795, allocations: 0.5452 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.002854, allocations: 0 / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.003265, allocations: 463 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.003623, allocations: 287.3 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.003935, allocations: 175.5 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.004133, allocations: 179.5 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.00424, allocations: 15.86 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.004338, allocations: 119.8 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.004516, allocations: 239.6 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004534, allocations: 4 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.004594, allocations: 23.98 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.004671, allocations: 87.7 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.004702, allocations: 35.75 kB / 381.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.004873, allocations: 199.1 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004876, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004876, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.00488, allocations: 0 / 381.3 MB, free: 21.59 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.0003856/0.005266, allocations: 0.7009 MB / 382 MB, free: 20.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.005297, allocations: 15.98 kB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.005339, allocations: 40.66 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.005479, allocations: 248.8 kB / 382.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.00549, allocations: 12.38 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.005497, allocations: 384 / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.005588, allocations: 58.89 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005594, allocations: 4.188 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.005601, allocations: 4.125 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.005605, allocations: 0 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.005622, allocations: 7.984 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.00587, allocations: 328.3 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.005922, allocations: 42.98 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.005938, allocations: 15.69 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.00595, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.005963, allocations: 45.27 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005964, allocations: 0 / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001215/0.006086, allocations: 85.45 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.006104, allocations: 55.41 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.006358, allocations: 0.6117 MB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.006365, allocations: 25.7 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.006468, allocations: 298.7 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.006485, allocations: 7.953 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006514, allocations: 27.36 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.006594, allocations: 0.5586 MB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.006604, allocations: 0 / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.006613, allocations: 7.984 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.006638, allocations: 15.69 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00664, allocations: 0 / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.491e-05/0.006705, allocations: 85.69 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.006715, allocations: 7.938 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006719, allocations: 3.938 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.006726, allocations: 48 / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.006778, allocations: 15.97 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.00678, allocations: 0 / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.006804, allocations: 7.953 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006809, allocations: 4 kB / 384.6 MB, free: 18.07 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 (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 5.023e-05/0.006859, allocations: 152.6 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.006888, allocations: 47.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.006976, allocations: 77.14 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006978, allocations: 4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.00698, allocations: 0 / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006983, allocations: 0 / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.007105, allocations: 201.1 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007105, allocations: 0 / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.007128, allocations: 19.92 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.007129, allocations: 0 / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.007134, allocations: 4 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007135, allocations: 3.938 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007136, allocations: 0 / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.399e-05/0.00721, allocations: 227.7 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.007229, allocations: 35.66 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007242, allocations: 4 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.00728, allocations: 11.92 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.007292, allocations: 0 / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.007295, allocations: 4 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.007441, allocations: 394.7 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007441, allocations: 0 / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.007593, allocations: 19.94 kB / 385.7 MB, free: 16.83 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 (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.000672/0.008265, allocations: 326.9 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.341e-05/0.008329, allocations: 23.67 kB / 386.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008331, allocations: 4 kB / 386.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.00834, allocations: 15.69 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.008563, allocations: 35.81 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.009004, allocations: 0.5644 MB / 386.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.009054, allocations: 127.1 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.009077, allocations: 11.92 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.009118, allocations: 78.19 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009118, allocations: 0 / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Templates: time 0.003093/0.01221, allocations: 1.293 MB / 388.2 MB, free: 14.43 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: 3.1261007571592927]