Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001513/0.001513, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001748/0.001748, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.97/0.97, allocations: 177.1 MB / 205 MB, free: 5.254 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.2879/0.2879, allocations: 32.8 MB / 294.3 MB, free: 1.16 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.432e-05, allocations: 10.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00213/0.002155, allocations: 1.654 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.002839, allocations: 0.5298 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.00288, allocations: 7.938 kB / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.003306, allocations: 455 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.003667, allocations: 299.2 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.003901, allocations: 119.6 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004093, allocations: 163.7 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.00417, allocations: 11.98 kB / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004278, allocations: 115.8 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.00445, allocations: 247.5 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004467, allocations: 7.984 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.004525, allocations: 27.92 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.004606, allocations: 83.72 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.004639, allocations: 39.67 kB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004821, allocations: 183.2 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004824, allocations: 0 / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004824, allocations: 0 / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00483, allocations: 3.984 kB / 379.9 MB, free: 0.7109 MB / 346.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.0005158/0.005346, allocations: 0.6967 MB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.005381, allocations: 12.03 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.005434, allocations: 40.66 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.005609, allocations: 248.8 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.005619, allocations: 4.375 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.005628, allocations: 384 / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.005733, allocations: 54.95 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.005739, allocations: 192 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.005747, allocations: 4.562 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005754, allocations: 3.938 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.005781, allocations: 15.92 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.006158, allocations: 411.8 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.006232, allocations: 35.05 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.006256, allocations: 15.69 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.006274, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.006296, allocations: 37.33 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.006298, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001748/0.006473, allocations: 105.3 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.006502, allocations: 51.41 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.006923, allocations: 0.6316 MB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006934, allocations: 29.7 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.007077, allocations: 282.8 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.007093, allocations: 3.953 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.007126, allocations: 27.36 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.007284, allocations: 0.547 MB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.0073, allocations: 4 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.007311, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.00735, allocations: 27.61 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007353, allocations: 0 / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.856e-05/0.007431, allocations: 81.41 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007445, allocations: 11.94 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007449, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.007461, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.007524, allocations: 8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.007528, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.007558, allocations: 19.88 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007564, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.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 7.528e-05/0.007639, allocations: 152.6 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.007674, allocations: 47.66 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.007806, allocations: 85.05 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.007809, allocations: 4 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.007813, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007816, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.008034, allocations: 280.5 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008036, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.008065, allocations: 7.984 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008067, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008075, allocations: 3.938 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008077, allocations: 4 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008078, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.008204, allocations: 231.6 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.008231, allocations: 43.72 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.00825, allocations: 7.922 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.008289, allocations: 7.938 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.008306, allocations: 4 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.008309, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.00857, allocations: 426.8 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00857, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.008745, allocations: 16 kB / 384.6 MB, free: 11.75 MB / 362.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.0007069/0.009452, allocations: 343.3 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.00953, allocations: 23.67 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009532, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.009547, allocations: 15.62 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.009779, allocations: 28.45 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.01037, allocations: 0.5653 MB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.01044, allocations: 119.2 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.01046, allocations: 7.984 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01049, allocations: 20.48 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01049, allocations: 0 / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003772/0.01426, allocations: 1.257 MB / 387 MB, free: 9.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.104171781335026]