Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001104/0.001104, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001722/0.001722, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9804/0.9804, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1362/0.1362, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.293e-05, allocations: 12.16 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002327/0.00235, allocations: 1.862 MB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003432, allocations: 0.8894 MB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.003528, allocations: 7.938 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.003941, allocations: 163.4 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.004243, allocations: 139.5 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.004529, allocations: 147.5 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.004769, allocations: 227.3 kB / 351.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004875, allocations: 9.812 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.005004, allocations: 127.6 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.005137, allocations: 123.7 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.005159, allocations: 8 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.005246, allocations: 43.98 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.005308, allocations: 47.83 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.005359, allocations: 43.8 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.005568, allocations: 163.3 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00557, allocations: 3.938 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005571, allocations: 0 / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.005576, allocations: 0 / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005208/0.006097, allocations: 0.5459 MB / 352.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.006145, allocations: 8.031 kB / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.006214, allocations: 32.8 kB / 352.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.00642, allocations: 199.6 kB / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.006444, allocations: 384 / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.006469, allocations: 12.38 kB / 352.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.006652, allocations: 106.3 kB / 352.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.006665, allocations: 3.938 kB / 352.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.006679, allocations: 3.938 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.006688, allocations: 7.938 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.006737, allocations: 19.98 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.007095, allocations: 486.6 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.007237, allocations: 110.2 kB / 353.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.007278, allocations: 39.36 kB / 353.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.007291, allocations: 3.938 kB / 353.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.007418, allocations: 120.3 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.00742, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005665/0.007986, allocations: 313.1 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.008021, allocations: 81.11 kB / 353.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.00821, allocations: 338.3 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.008224, allocations: 33.7 kB / 354.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.00829, allocations: 199.1 kB / 354.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.008328, allocations: 47.62 kB / 354.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.008372, allocations: 43.36 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.008462, allocations: 0.5196 MB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.008504, allocations: 19.98 kB / 355 MB, free: 1.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.00856, allocations: 73.75 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.008655, allocations: 94.88 kB / 355.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008657, allocations: 4 kB / 355.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001639/0.008821, allocations: 161.3 kB / 355.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.008837, allocations: 8 kB / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008843, allocations: 0 / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.008864, allocations: 0 / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.008972, allocations: 35.92 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.008979, allocations: 0 / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.009024, allocations: 11.98 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009034, allocations: 8 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.417e-05/0.009108, allocations: 172.5 kB / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.009135, allocations: 39.81 kB / 355.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.009408, allocations: 179.3 kB / 355.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.009416, allocations: 4 kB / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.009421, allocations: 0 / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.009427, allocations: 0 / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.009826, allocations: 0.6481 MB / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009828, allocations: 0 / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.009869, allocations: 23.92 kB / 356.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.009872, allocations: 4 kB / 356.4 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.009883, allocations: 8.062 kB / 356.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.009886, allocations: 8.297 kB / 356.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009888, allocations: 3.938 kB / 356.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01013, allocations: 458.2 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.01015, allocations: 23.84 kB / 356.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.01018, allocations: 4 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.01025, allocations: 4 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.0103, allocations: 28.22 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.01032, allocations: 8 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.01047, allocations: 235 kB / 357.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01047, allocations: 4 kB / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000235/0.01071, allocations: 47.89 kB / 357.2 MB, free: 15.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009663/0.01167, allocations: 440.4 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01191, allocations: 99.52 kB / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01191, allocations: 0 / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.01198, allocations: 55.59 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01234, allocations: 65.11 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.01294, allocations: 408.6 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.913e-05/0.01301, allocations: 87.95 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.01308, allocations: 34.17 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.01314, allocations: 32.48 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01314, allocations: 4 kB / 358.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of Templates: time 0.006075/0.01921, allocations: 3.136 MB / 361.6 MB, free: 11.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.241350478027016]