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.001358/0.001358, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001502/0.001502, allocations: 161 kB / 24.56 MB, free: 16 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.9491/0.9491, allocations: 177.1 MB / 205 MB, free: 5.586 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.254/0.254, allocations: 34.25 MB / 295.7 MB, free: 0.7734 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.302e-06/1.302e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.068e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002198/0.002219, allocations: 1.712 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003421, allocations: 1.286 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.003468, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.003653, allocations: 31.77 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.003948, allocations: 87.55 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.00419, allocations: 131.5 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.004324, allocations: 71.77 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.004405, allocations: 12 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.004464, allocations: 43.89 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.004547, allocations: 23.91 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004564, allocations: 11.98 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.004696, allocations: 95.77 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.004748, allocations: 15.97 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.004771, allocations: 15.94 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004962, allocations: 143.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004963, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004964, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004968, allocations: 0 / 381.7 MB, free: 14.95 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.0004032/0.005371, allocations: 440 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.005405, allocations: 8.031 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.00545, allocations: 12.89 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.005591, allocations: 132.5 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.0056, allocations: 4.359 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.005623, allocations: 8.375 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.00576, allocations: 112 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005769, allocations: 192 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005779, allocations: 4.125 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005786, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.005818, allocations: 16 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.006088, allocations: 283.6 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.006154, allocations: 39.05 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.006178, allocations: 19.56 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.006197, allocations: 4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.006218, allocations: 33.39 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.006219, allocations: 0 / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003563/0.006575, allocations: 129.5 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.00661, allocations: 93.03 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006717, allocations: 189.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006728, allocations: 29.7 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.006773, allocations: 142.8 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.006792, allocations: 19.86 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.006822, allocations: 23.38 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006925, allocations: 0.4923 MB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.006946, allocations: 8.062 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.006985, allocations: 65.06 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.007027, allocations: 31.61 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007028, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.537e-05/0.007113, allocations: 77.61 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007124, allocations: 5.875 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007128, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007141, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.007222, allocations: 19.98 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007226, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.007251, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.007258, allocations: 4 kB / 384.1 MB, free: 12.29 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 5.949e-05/0.007317, allocations: 160.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.00734, allocations: 11.91 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.007465, allocations: 90.59 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.007468, allocations: 4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.007471, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007474, allocations: 3.984 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.007706, allocations: 337.4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007707, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.007746, allocations: 15.94 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007748, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.007756, allocations: 7.922 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007757, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007758, allocations: 4.469 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.007871, allocations: 231.8 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.00788, allocations: 3.953 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.007892, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.00793, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.007961, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007966, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.008021, allocations: 143.2 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008021, allocations: 0 / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.008218, allocations: 39.86 kB / 385.2 MB, free: 11.15 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.0009437/0.009161, allocations: 494.3 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.009277, allocations: 47.64 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.009279, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.009309, allocations: 35.55 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.009504, allocations: 23.92 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.009809, allocations: 186.4 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.009846, allocations: 67.33 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.009884, allocations: 8 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.009919, allocations: 24.48 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009919, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003322/0.01324, allocations: 1.98 MB / 388 MB, free: 8.445 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.2761189150623977]