Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001116/0.001116, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001599/0.001599, allocations: 161.5 kB / 24.99 MB, free: 9.285 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.9973/0.9973, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2626/0.2626, allocations: 32.8 MB / 294.6 MB, free: 1.27 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.087e-05, allocations: 2.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002833/0.002854, allocations: 1.715 MB / 377.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.003815, allocations: 0.5764 MB / 378.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.003883, allocations: 0 / 378.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.004462, allocations: 455.1 kB / 378.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.00494, allocations: 303.1 kB / 379.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.005366, allocations: 175.4 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.005619, allocations: 175.6 kB / 379.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.005725, allocations: 24.2 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.005876, allocations: 119.8 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.006124, allocations: 243.6 kB / 379.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.006143, allocations: 4 kB / 379.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.006242, allocations: 47.92 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.006337, allocations: 91.64 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.006385, allocations: 39.73 kB / 380 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.00665, allocations: 219 kB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006654, allocations: 3.984 kB / 380.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006655, allocations: 0 / 380.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006659, allocations: 0 / 380.2 MB, free: 0.7891 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006134/0.007272, allocations: 0.7009 MB / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.007307, allocations: 8.031 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.00737, allocations: 44.66 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.007597, allocations: 252.8 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.007608, allocations: 8.375 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.007628, allocations: 384 / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.007747, allocations: 62.94 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.007758, allocations: 8.188 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007769, allocations: 8.125 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.007776, allocations: 0 / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.007817, allocations: 15.92 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.008277, allocations: 427.6 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.332e-05/0.00835, allocations: 51.02 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.008375, allocations: 11.69 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.008392, allocations: 4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.008414, allocations: 37.48 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.008416, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006269/0.009043, allocations: 264.9 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.009081, allocations: 55.41 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.009671, allocations: 0.6315 MB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.009684, allocations: 29.7 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.009886, allocations: 282.8 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.009916, allocations: 23.75 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.009961, allocations: 31.36 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.01018, allocations: 0.5547 MB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.01021, allocations: 19.92 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.01024, allocations: 8 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.01031, allocations: 31.69 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01031, allocations: 4 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001577/0.01047, allocations: 113.6 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01049, allocations: 10.17 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01049, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.0105, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.0106, allocations: 15.94 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.0106, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.01065, allocations: 11.98 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.01066, allocations: 0 / 383.9 MB, free: 12.88 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 (8): * Single equations (assignments): 8 * 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 0.0001053/0.01076, allocations: 164.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.01082, allocations: 47.67 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.01104, allocations: 113.5 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01104, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01104, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01105, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.01163, allocations: 0.5125 MB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01163, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.01169, allocations: 12 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.0117, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.0117, allocations: 3.984 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01171, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01171, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.01189, allocations: 267.2 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.01193, allocations: 35.72 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01195, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.01202, allocations: 8.016 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.01205, allocations: 11.88 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.01206, allocations: 4 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003256/0.01238, allocations: 430.8 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01238, allocations: 0 / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.01263, allocations: 31.98 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001082/0.01372, allocations: 431.3 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01383, allocations: 43.61 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01383, allocations: 4 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.01387, allocations: 31.66 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01418, allocations: 29.95 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.015, allocations: 0.6132 MB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.01511, allocations: 123.2 kB / 386.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.01518, allocations: 17.03 kB / 386.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.01522, allocations: 24.48 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01522, allocations: 0 / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of Templates: time 0.004885/0.0201, allocations: 1.639 MB / 388.4 MB, free: 8.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.238014757167548]