Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.0008351/0.0008351, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009436/0.0009436, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 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.9467/0.9467, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.237/0.237, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.646e-05, allocations: 3.016 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002634/0.002651, allocations: 2.327 MB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.00431, allocations: 1.392 MB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004435, allocations: 7.938 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.004892, allocations: 286.8 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.00534, allocations: 350.4 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.005706, allocations: 227.4 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.00622, allocations: 0.5651 MB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006333, allocations: 41.25 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.006654, allocations: 303.2 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.006903, allocations: 231.3 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.006941, allocations: 20 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.00705, allocations: 67.84 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.007169, allocations: 123.5 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.007271, allocations: 107.5 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.007606, allocations: 318.6 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.007608, allocations: 0 / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007609, allocations: 4 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.007613, allocations: 4 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007493/0.008362, allocations: 0.6989 MB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.008395, allocations: 8.031 kB / 332.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.008466, allocations: 44.83 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.008841, allocations: 337.7 kB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.008864, allocations: 8.875 kB / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.008895, allocations: 16.33 kB / 332.7 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.009143, allocations: 202.3 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.009156, allocations: 3.938 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.00917, allocations: 8 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.009178, allocations: 4 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.009269, allocations: 58.03 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.009796, allocations: 0.6072 MB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.0101, allocations: 446.2 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.01018, allocations: 60.27 kB / 334.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.01019, allocations: 8 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.01041, allocations: 190.3 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.01041, allocations: 0 / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007725/0.01118, allocations: 460.6 kB / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.01126, allocations: 170.2 kB / 334.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.01168, allocations: 0.493 MB / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.01171, allocations: 37.7 kB / 335.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.01179, allocations: 154.2 kB / 335.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.01188, allocations: 127 kB / 335.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.01197, allocations: 74.16 kB / 335.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.01209, allocations: 374.6 kB / 336.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.01216, allocations: 39.81 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.01227, allocations: 129.5 kB / 336.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.01249, allocations: 210.8 kB / 336.5 MB, free: 12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01249, allocations: 0 / 336.5 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002919/0.01278, allocations: 247.7 kB / 336.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01279, allocations: 8 kB / 336.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.0128, allocations: 0 / 336.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01281, allocations: 7.938 kB / 336.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.01301, allocations: 79.89 kB / 336.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01302, allocations: 7.938 kB / 336.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01315, allocations: 23.92 kB / 336.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01316, allocations: 12.19 kB / 336.9 MB, free: 11.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001196/0.01328, allocations: 147.3 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.01335, allocations: 51.95 kB / 337.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.01369, allocations: 270.2 kB / 337.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.0137, allocations: 4 kB / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0137, allocations: 3.938 kB / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01371, allocations: 7.984 kB / 337.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.01452, allocations: 1.093 MB / 338.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.01452, allocations: 0 / 338.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01464, allocations: 47.92 kB / 338.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01464, allocations: 4 kB / 338.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.01467, allocations: 19.98 kB / 338.6 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.01467, allocations: 7.938 kB / 338.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01468, allocations: 4 kB / 338.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.01513, allocations: 0.8508 MB / 339.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.01518, allocations: 51.61 kB / 339.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.01523, allocations: 16.06 kB / 339.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.01549, allocations: 19.98 kB / 339.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.01556, allocations: 43.86 kB / 339.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.01559, allocations: 19.98 kB / 339.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.01582, allocations: 251.2 kB / 339.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 339.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.0163, allocations: 95.83 kB / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001482/0.01778, allocations: 0.5992 MB / 340.5 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.01804, allocations: 177.6 kB / 340.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01805, allocations: 16.25 kB / 340.7 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.01818, allocations: 116.7 kB / 340.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.01895, allocations: 166.7 kB / 341 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.02026, allocations: 0.8348 MB / 341.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.02039, allocations: 133.9 kB / 341.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.02056, allocations: 83.39 kB / 342 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.02079, allocations: 151.3 kB / 342.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02079, allocations: 0 / 342.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of Templates: time 0.01058/0.03137, allocations: 6.783 MB / 348.9 MB, free: 15.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.0325726429000497]