Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001024/0.001024, allocations: 83.58 kB / 21.19 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.001307/0.001307, 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.9959/0.9959, allocations: 177.1 MB / 205 MB, free: 5.273 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.275/0.275, allocations: 32.8 MB / 294.3 MB, free: 1.164 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.4e-05, allocations: 6.25 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003408/0.003442, allocations: 1.848 MB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.005945, allocations: 1.793 MB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.006048, allocations: 4 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.006356, allocations: 63.5 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.006841, allocations: 147.2 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.007137, allocations: 107.6 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.007464, allocations: 207.3 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.007518, allocations: 9.75 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.00768, allocations: 107.7 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.007844, allocations: 71.72 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.007871, allocations: 12 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.008076, allocations: 99.88 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.008155, allocations: 47.78 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.008215, allocations: 31.91 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.008566, allocations: 211.2 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.008569, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.00857, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.008575, allocations: 0 / 380.8 MB, free: 15.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006147/0.00919, allocations: 0.5071 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.009229, allocations: 8.031 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.009304, allocations: 28.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.009586, allocations: 204 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.009607, allocations: 8.375 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.009623, allocations: 384 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.009843, allocations: 169.1 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009856, allocations: 3.938 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.009868, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.009877, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/0.009932, allocations: 23.92 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.01023, allocations: 164.4 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.0104, allocations: 106.1 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.01046, allocations: 27.38 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.01048, allocations: 7.984 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.01064, allocations: 112.3 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.01064, allocations: 0 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003196/0.01096, allocations: 141.4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.01104, allocations: 132.5 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.01131, allocations: 282.7 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01133, allocations: 33.7 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.01141, allocations: 162.9 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.01146, allocations: 27.78 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.01152, allocations: 39.36 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01168, allocations: 0.5001 MB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.01172, allocations: 16 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.01182, allocations: 125.5 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.01193, allocations: 75.19 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01193, allocations: 8.031 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001893/0.01212, allocations: 121.4 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01214, allocations: 8 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01214, allocations: 3.938 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01216, allocations: 0 / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01226, allocations: 23.98 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01227, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.01233, allocations: 8 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01234, allocations: 7.984 kB / 383.9 MB, free: 12.45 MB / 362.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001027/0.01244, allocations: 172.6 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.01248, allocations: 27.8 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.01271, allocations: 142.7 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01271, allocations: 4 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01272, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01272, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.01284, allocations: 168.5 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01284, allocations: 0 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.01287, allocations: 8 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01287, allocations: 0 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01288, allocations: 12.23 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01288, allocations: 3.938 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01288, allocations: 4 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.01304, allocations: 183.9 kB / 384.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.01306, allocations: 15.91 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.01308, allocations: 8 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.01312, allocations: 11.92 kB / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.01316, allocations: 11.98 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01317, allocations: 7.938 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01328, allocations: 201.8 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01328, allocations: 4 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.01346, allocations: 55.86 kB / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0009507/0.01441, allocations: 496.3 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.01455, allocations: 79.47 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01455, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.01477, allocations: 47.59 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.015, allocations: 65.12 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.01539, allocations: 286.3 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.01543, allocations: 75.92 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.01549, allocations: 29.59 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.01553, allocations: 28.48 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01553, allocations: 0 / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004734/0.02027, allocations: 3.442 MB / 389.4 MB, free: 6.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.2686964250169694]