Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00119/0.00119, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001127/0.001127, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.9642/0.9642, allocations: 158.6 MB / 186 MB, free: 2.926 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.1214/0.1214, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.961e-05, allocations: 6.25 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002183/0.002202, allocations: 2.285 MB / 350 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00346, allocations: 1.154 MB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.003607, allocations: 7.938 kB / 351.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.004041, allocations: 298.8 kB / 351.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.004439, allocations: 274.7 kB / 351.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.004975, allocations: 327.2 kB / 352.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.005442, allocations: 0.5217 MB / 352.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.005576, allocations: 45.19 kB / 352.6 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.00587, allocations: 283.2 kB / 352.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.006095, allocations: 247.4 kB / 353.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.006141, allocations: 20 kB / 353.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.006251, allocations: 59.92 kB / 353.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.006349, allocations: 119.5 kB / 353.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.006435, allocations: 95.56 kB / 353.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.006762, allocations: 310.7 kB / 353.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006767, allocations: 0 / 353.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006768, allocations: 0 / 353.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.006777, allocations: 0 / 353.7 MB, free: 3.668 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007928/0.00757, allocations: 0.8069 MB / 354.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.007614, allocations: 12.03 kB / 354.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.007742, allocations: 68.59 kB / 354.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.008104, allocations: 324.7 kB / 355 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.008133, allocations: 12.38 kB / 355 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.008166, allocations: 12.38 kB / 355 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.008424, allocations: 201.2 kB / 355.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.008442, allocations: 11.89 kB / 355.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.008459, allocations: 7.938 kB / 355.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.00847, allocations: 8 kB / 355.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.008578, allocations: 63.88 kB / 355.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.009235, allocations: 1.011 MB / 356.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.009506, allocations: 263.7 kB / 356.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.998e-05/0.009586, allocations: 90.41 kB / 356.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.009606, allocations: 8 kB / 356.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.00983, allocations: 224 kB / 356.8 MB, free: 312 kB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.009832, allocations: 4 kB / 356.8 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001324/0.01116, allocations: 0.8979 MB / 357.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.01124, allocations: 162.2 kB / 357.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.01169, allocations: 0.5455 MB / 358.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.01172, allocations: 41.7 kB / 358.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01186, allocations: 283.6 kB / 358.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.01195, allocations: 134.9 kB / 358.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.01203, allocations: 75.84 kB / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.0122, allocations: 0.5469 MB / 359.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.0123, allocations: 60.95 kB / 359.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.01246, allocations: 169.8 kB / 359.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.01274, allocations: 253.1 kB / 360 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01274, allocations: 0 / 360 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004341/0.01318, allocations: 349 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.0132, allocations: 4 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.01321, allocations: 4 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.01324, allocations: 7.938 kB / 360.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.01346, allocations: 84.06 kB / 360.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.01347, allocations: 7.938 kB / 360.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01359, allocations: 15.98 kB / 360.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01361, allocations: 24.17 kB / 360.5 MB, free: 12.48 MB / 298.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.0001415/0.01375, allocations: 187.1 kB / 360.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.01383, allocations: 71.61 kB / 360.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.0144, allocations: 413.5 kB / 361.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.0144, allocations: 7.938 kB / 361.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01441, allocations: 4 kB / 361.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.01442, allocations: 7.984 kB / 361.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.01562, allocations: 1.387 MB / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.01563, allocations: 4 kB / 362.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01574, allocations: 55.92 kB / 362.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.01575, allocations: 4 kB / 362.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.01577, allocations: 15.98 kB / 362.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.01578, allocations: 12.09 kB / 362.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01578, allocations: 0 / 362.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.01641, allocations: 1.037 MB / 363.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.01646, allocations: 51.66 kB / 363.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.01652, allocations: 15.98 kB / 363.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.01672, allocations: 19.98 kB / 363.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.01681, allocations: 39.88 kB / 363.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.01684, allocations: 20 kB / 363.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.01714, allocations: 374.7 kB / 364.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01714, allocations: 4 kB / 364.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.01757, allocations: 95.81 kB / 364.3 MB, free: 8.555 MB / 298.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.001041/0.01861, allocations: 458.1 kB / 364.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.019, allocations: 232.1 kB / 365 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.019, allocations: 0 / 365 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.01915, allocations: 140.7 kB / 365.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.01988, allocations: 159 kB / 365.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.02134, allocations: 0.8389 MB / 366.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.02146, allocations: 129.9 kB / 366.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.02164, allocations: 87.31 kB / 366.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.02173, allocations: 56.48 kB / 366.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.02173, allocations: 0 / 366.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of Templates: time 0.008469/0.0302, allocations: 6.16 MB / 372.5 MB, free: 340 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5435294210910797]