Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001392/0.001392, allocations: 83.58 kB / 21.18 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.001446/0.001446, allocations: 161.4 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.9915/0.9915, allocations: 177.1 MB / 205 MB, free: 5.621 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.2836/0.2836, allocations: 32.8 MB / 294.3 MB, free: 1.305 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.468e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00203/0.002045, allocations: 1.72 MB / 377.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.002776, allocations: 0.5569 MB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002825, allocations: 4 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.003261, allocations: 451.1 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.003653, allocations: 299.2 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003902, allocations: 139.5 kB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.00409, allocations: 175.6 kB / 379.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.004182, allocations: 16.22 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004291, allocations: 123.8 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.004486, allocations: 247.5 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004504, allocations: 4 kB / 379.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.004592, allocations: 47.92 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.004684, allocations: 87.7 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.004722, allocations: 43.73 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.004931, allocations: 219 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004933, allocations: 0 / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004933, allocations: 0 / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004938, allocations: 0 / 380.1 MB, free: 0.5391 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.0005441/0.005482, allocations: 0.7009 MB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.005516, allocations: 8.031 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.005571, allocations: 48.66 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.005752, allocations: 248.9 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.005761, allocations: 384 / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.005783, allocations: 12.38 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005897, allocations: 66.88 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.005908, allocations: 8.109 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.00592, allocations: 8.125 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005927, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.005961, allocations: 8 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.006338, allocations: 447.5 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.006492, allocations: 50.98 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.006515, allocations: 11.69 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.006532, allocations: 4 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.006553, allocations: 41.61 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.006554, allocations: 3.938 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000563/0.007117, allocations: 316.9 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.007146, allocations: 59.41 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.007525, allocations: 0.6316 MB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.007536, allocations: 29.7 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.007671, allocations: 282.8 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.007698, allocations: 39.64 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.007731, allocations: 31.38 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.007877, allocations: 0.5547 MB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.007905, allocations: 12.17 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.007929, allocations: 19.94 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.00799, allocations: 55.61 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007991, allocations: 4 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001181/0.008109, allocations: 117.7 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008121, allocations: 8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.008125, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.008139, allocations: 3.938 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.008204, allocations: 23.98 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.00821, allocations: 3.938 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.008244, allocations: 11.98 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008251, allocations: 0 / 384 MB, free: 12.49 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 (11): * Single equations (assignments): 11 * 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 8.633e-05/0.008337, allocations: 164.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.008374, allocations: 47.67 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.008561, allocations: 133.5 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008564, allocations: 8 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.008568, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008572, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.009027, allocations: 0.5434 MB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.00903, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.009082, allocations: 27.92 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.009085, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.0091, allocations: 11.94 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.009103, allocations: 3.938 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009104, allocations: 4.062 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.009268, allocations: 291 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.009292, allocations: 35.72 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.00931, allocations: 7.938 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.009356, allocations: 7.938 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.00939, allocations: 11.97 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.009397, allocations: 4 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002447/0.009642, allocations: 426.8 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009642, allocations: 4 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.009817, allocations: 31.98 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008521/0.01067, allocations: 437.9 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.01079, allocations: 59.59 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01079, allocations: 0 / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.01083, allocations: 39.61 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01106, allocations: 32.83 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.01166, allocations: 0.6348 MB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.01173, allocations: 127.2 kB / 387 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.775e-05/0.01177, allocations: 16.47 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.01181, allocations: 16.5 kB / 387.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01181, allocations: 0 / 387.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of Templates: time 0.003995/0.0158, allocations: 1.874 MB / 388.9 MB, free: 7.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.9410601360723376]