Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009328/0.0009328, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009738/0.0009738, allocations: 170.2 kB / 24.91 MB, free: 9.188 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.9402/0.9402, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2467/0.2467, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.252e-05, allocations: 3.188 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001945/0.001958, allocations: 1.695 MB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.002758, allocations: 0.5568 MB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002805, allocations: 4 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.003267, allocations: 459 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.003612, allocations: 295.1 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.003916, allocations: 159.6 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004093, allocations: 175.6 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.004164, allocations: 8 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.004254, allocations: 119.8 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.004398, allocations: 195.6 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.004411, allocations: 4 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.004461, allocations: 27.92 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.004653, allocations: 83.7 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.004684, allocations: 36.25 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.00485, allocations: 191.1 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.004852, allocations: 0 / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004852, allocations: 4 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004855, allocations: 0 / 329.3 MB, free: 3.637 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.0003929/0.005248, allocations: 0.5347 MB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.005277, allocations: 12.03 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.00531, allocations: 20.91 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.005469, allocations: 246.1 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.005476, allocations: 384 / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.005483, allocations: 4.375 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.005556, allocations: 58.89 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.005562, allocations: 192 / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.005569, allocations: 4.125 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.005575, allocations: 4 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.005591, allocations: 11.97 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.005823, allocations: 183.1 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.00586, allocations: 22.52 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.005878, allocations: 12.97 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.005894, allocations: 7.938 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005917, allocations: 38.5 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.005918, allocations: 0 / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001201/0.006038, allocations: 53.67 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.006065, allocations: 51.41 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.006375, allocations: 0.5322 MB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.006385, allocations: 29.64 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.006444, allocations: 145.2 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.006461, allocations: 7.953 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.006482, allocations: 13.7 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.006576, allocations: 358.7 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.006583, allocations: 4.125 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.006591, allocations: 4 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.006617, allocations: 15.67 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006618, allocations: 0 / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.262e-05/0.006671, allocations: 57.67 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006682, allocations: 10.28 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.006685, allocations: 0 / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006696, allocations: 0 / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.006733, allocations: 7.938 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.006735, allocations: 96 / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.006757, allocations: 12 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006763, allocations: 3.984 kB / 331.7 MB, free: 1.035 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 (2): * Single equations (assignments): 2 * 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.698e-05/0.00682, allocations: 108.7 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.006843, allocations: 23.92 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.006932, allocations: 72.73 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006934, allocations: 4 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.006935, allocations: 0 / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.006938, allocations: 0 / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.007046, allocations: 133.8 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.007046, allocations: 4.031 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.007063, allocations: 4 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007065, allocations: 4 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.007068, allocations: 0 / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00707, allocations: 7.875 kB / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00707, allocations: 0 / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.007135, allocations: 151.5 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.007158, allocations: 39.72 kB / 332.2 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007169, allocations: 0 / 332.2 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.007203, allocations: 3.938 kB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.007213, allocations: 4.031 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007218, allocations: 11.97 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.007371, allocations: 279.2 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007371, allocations: 0 / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.00775, allocations: 23.94 kB / 332.6 MB, free: 128 kB / 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 (2): * Single equations (assignments): 2 * 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.000831/0.008581, allocations: 433.8 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.083e-05/0.008632, allocations: 12.8 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.008639, allocations: 8 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.008646, allocations: 4.859 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.008816, allocations: 31.34 kB / 333 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.009306, allocations: 0.5697 MB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.00937, allocations: 119.2 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.457e-05/0.009395, allocations: 15.97 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.009435, allocations: 55.38 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009435, allocations: 0 / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of Templates: time 0.003071/0.01251, allocations: 1.232 MB / 335 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.727363056037575]