Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001091/0.001091, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001192/0.001192, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2721/0.2721, allocations: 34.27 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.CombiTable2Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.655e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002527/0.002553, allocations: 1.695 MB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003962, allocations: 1.289 MB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.004033, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.004274, allocations: 27.78 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.004592, allocations: 79.56 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.004831, allocations: 135.6 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.004982, allocations: 75.77 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005091, allocations: 11.98 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.005172, allocations: 39.86 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.005284, allocations: 27.89 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.005301, allocations: 4 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.005444, allocations: 91.81 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.005507, allocations: 23.92 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.005533, allocations: 15.92 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.005745, allocations: 143.5 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005747, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005748, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005752, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.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.0004524/0.006204, allocations: 439.9 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.00625, allocations: 8.031 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.006289, allocations: 12.89 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.006457, allocations: 136.5 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.006466, allocations: 384 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.006488, allocations: 8.312 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.006644, allocations: 116 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006655, allocations: 192 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006666, allocations: 8.125 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.006673, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.006698, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.007034, allocations: 268.3 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.007099, allocations: 31.06 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.007118, allocations: 19.77 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.007143, allocations: 3.984 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.007173, allocations: 45.33 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007174, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003424/0.007516, allocations: 113.5 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.007556, allocations: 77.11 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.007668, allocations: 197.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.00768, allocations: 25.7 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.00774, allocations: 146.8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.007766, allocations: 23.8 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.007798, allocations: 31.3 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.008027, allocations: 0.4961 MB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.008045, allocations: 8 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.008084, allocations: 53.06 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.008123, allocations: 27.67 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008125, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.292e-05/0.008208, allocations: 65.58 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.008221, allocations: 8 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008227, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.00824, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.008314, allocations: 19.92 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.008319, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.008344, allocations: 16.02 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.008351, allocations: 4 kB / 384.5 MB, free: 12.1 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 (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 7.203e-05/0.008423, allocations: 152.6 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.008445, allocations: 15.89 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.008569, allocations: 74.39 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008572, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008574, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.008579, allocations: 3.938 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.008825, allocations: 322.4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008827, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.008865, allocations: 16 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008868, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.008875, allocations: 3.984 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.008876, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008876, allocations: 4.078 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.008992, allocations: 215.8 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.009004, allocations: 7.953 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.009019, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.009057, allocations: 7.984 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.009093, allocations: 7.984 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.009096, allocations: 7.938 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.009152, allocations: 149.3 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009152, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.009341, allocations: 43.86 kB / 385.6 MB, free: 11.01 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 (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.001307/0.01065, allocations: 490.6 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01076, allocations: 43.59 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01076, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.01079, allocations: 23.67 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01101, allocations: 30.86 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.01133, allocations: 194.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.01138, allocations: 63.34 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.01142, allocations: 11.98 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.0115, allocations: 90.19 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0115, allocations: 0 / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.00422/0.01572, allocations: 2.184 MB / 388.7 MB, free: 8.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.40900421096012]