Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001081/0.001081, allocations: 79.75 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.001131/0.001131, 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.9609/0.9609, allocations: 177.1 MB / 205 MB, free: 5.609 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.235/0.235, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.28e-05, allocations: 6.25 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002999/0.003032, allocations: 1.727 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.004032, allocations: 0.5686 MB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.004105, allocations: 0 / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.004415, allocations: 87.56 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.004765, allocations: 99.53 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.005195, allocations: 179.5 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005393, allocations: 91.75 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.005506, allocations: 24.16 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.005591, allocations: 47.89 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005697, allocations: 55.86 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.005715, allocations: 4 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.005823, allocations: 51.97 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.005894, allocations: 27.92 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.005931, allocations: 23.86 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.006135, allocations: 103.6 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.006139, allocations: 0 / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00614, allocations: 0 / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.006145, allocations: 0 / 379.1 MB, free: 1.535 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.0005047/0.006649, allocations: 447.9 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.00669, allocations: 12.03 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.006752, allocations: 20.84 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.006923, allocations: 156.8 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.006936, allocations: 8.375 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006959, allocations: 384 / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.007112, allocations: 70.94 kB / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.007123, allocations: 192 / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.007135, allocations: 4.125 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.007144, allocations: 0 / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.007196, allocations: 19.92 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.007847, allocations: 315.6 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.008049, allocations: 59.02 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.008079, allocations: 15.69 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.008099, allocations: 0 / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.008127, allocations: 33.39 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.008128, allocations: 0 / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007572/0.008885, allocations: 237.8 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.008969, allocations: 59.34 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.009131, allocations: 237.9 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009148, allocations: 29.7 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.662e-05/0.009214, allocations: 158.8 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.00925, allocations: 35.69 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.009299, allocations: 31.38 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.009433, allocations: 0.5039 MB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.009475, allocations: 20.05 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.009512, allocations: 15.98 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.009598, allocations: 43.69 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009599, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001627/0.009761, allocations: 109.5 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.009777, allocations: 4 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009782, allocations: 0 / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.009797, allocations: 0 / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.009895, allocations: 23.98 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009901, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.009936, allocations: 4 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.009947, allocations: 8 kB / 381.8 MB, free: 14.69 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 7.773e-05/0.01002, allocations: 160.5 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.01005, allocations: 19.91 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.01023, allocations: 127.4 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01023, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01024, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01024, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.01059, allocations: 432.5 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01059, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.01065, allocations: 23.98 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01065, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.01066, allocations: 4 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.01066, allocations: 8 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01066, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01083, allocations: 255.2 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.01084, allocations: 15.91 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01085, allocations: 3.984 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.01089, allocations: 7.938 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.01093, allocations: 11.98 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.01094, allocations: 4 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.01102, allocations: 168.2 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01102, allocations: 0 / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.01119, allocations: 35.92 kB / 383 MB, free: 13.34 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.0008849/0.01207, allocations: 439.8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01221, allocations: 59.59 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01221, allocations: 0 / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.01225, allocations: 43.61 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01248, allocations: 19.98 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.01289, allocations: 290.6 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.095e-05/0.01294, allocations: 79.33 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.013, allocations: 24.45 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.01303, allocations: 16.5 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01303, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003534/0.01656, allocations: 1.785 MB / 385.7 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.0435596080496907]