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.001271/0.001271, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0009707/0.0009707, allocations: 165 kB / 23.8 MB, free: 0.7695 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.8928/0.8928, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.149/0.149, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.763e-06/1.763e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.147e-05, allocations: 8.219 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002586/0.002617, allocations: 2.298 MB / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.004054, allocations: 1.158 MB / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.004223, allocations: 7.938 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.004682, allocations: 298.9 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.005088, allocations: 274.8 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.005623, allocations: 327.2 kB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.006092, allocations: 0.5294 MB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.006218, allocations: 33.27 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.006512, allocations: 287.2 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.006747, allocations: 243.4 kB / 353.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.006783, allocations: 20 kB / 353.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.006904, allocations: 59.92 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.006998, allocations: 119.5 kB / 353.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.007083, allocations: 95.58 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.007404, allocations: 310.7 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007408, allocations: 4 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007409, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.007415, allocations: 0 / 353.8 MB, free: 3.305 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.0007151/0.00813, allocations: 0.803 MB / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.00817, allocations: 16.02 kB / 354.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.935e-05/0.008259, allocations: 60.61 kB / 354.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.008588, allocations: 336.7 kB / 355 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.008613, allocations: 8.375 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.008648, allocations: 12.38 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.008899, allocations: 209.2 kB / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.008913, allocations: 7.891 kB / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.00893, allocations: 8 kB / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008938, allocations: 0 / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.009041, allocations: 63.88 kB / 355.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.009645, allocations: 1.011 MB / 356.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.009912, allocations: 263.7 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.009992, allocations: 90.41 kB / 356.6 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.01001, allocations: 7.938 kB / 356.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.01027, allocations: 231.8 kB / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.01027, allocations: 0 / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001204/0.01147, allocations: 0.9017 MB / 357.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.01155, allocations: 166.1 kB / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.01197, allocations: 0.5417 MB / 358.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.012, allocations: 37.7 kB / 358.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.01213, allocations: 279.8 kB / 358.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.01222, allocations: 134.9 kB / 358.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.0123, allocations: 75.86 kB / 359 MB, free: 13.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01245, allocations: 0.5469 MB / 359.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.01257, allocations: 60.95 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.0127, allocations: 169.8 kB / 359.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.01295, allocations: 253 kB / 360 MB, free: 12.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01295, allocations: 0 / 360 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004005/0.01335, allocations: 349 kB / 360.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.01337, allocations: 8 kB / 360.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01337, allocations: 0 / 360.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01339, allocations: 7.938 kB / 360.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.0136, allocations: 83.84 kB / 360.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.01361, allocations: 7.984 kB / 360.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01371, allocations: 16 kB / 360.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.01373, allocations: 24.14 kB / 360.5 MB, free: 12.12 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.0001224/0.01385, allocations: 187.1 kB / 360.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.01392, allocations: 79.55 kB / 360.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.01441, allocations: 401.7 kB / 361.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.01442, allocations: 11.94 kB / 361.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01443, allocations: 4 kB / 361.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01443, allocations: 3.984 kB / 361.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.01547, allocations: 1.398 MB / 362.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01548, allocations: 0 / 362.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01558, allocations: 55.92 kB / 362.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.01558, allocations: 4 kB / 362.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.0156, allocations: 15.98 kB / 362.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01561, allocations: 4 kB / 362.6 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01561, allocations: 4 kB / 362.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.01623, allocations: 1.041 MB / 363.7 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.01628, allocations: 47.67 kB / 363.7 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.01633, allocations: 15.97 kB / 363.7 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01651, allocations: 23.98 kB / 363.8 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.01658, allocations: 43.81 kB / 363.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.01661, allocations: 23.98 kB / 363.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.01689, allocations: 366.8 kB / 364.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01689, allocations: 0 / 364.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.01728, allocations: 95.81 kB / 364.3 MB, free: 8.195 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.0009704/0.01826, allocations: 459.8 kB / 364.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.01861, allocations: 232.1 kB / 365 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.01862, allocations: 0 / 365 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.01876, allocations: 140.3 kB / 365.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.01943, allocations: 163.6 kB / 365.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.02086, allocations: 0.8309 MB / 366.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.02097, allocations: 125.9 kB / 366.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.02115, allocations: 87.31 kB / 366.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.02125, allocations: 56.48 kB / 366.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of SimCode: time 1.382e-06/0.02125, allocations: 0 / 366.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of Templates: time 0.009298/0.03055, allocations: 6.17 MB / 372.5 MB, free: 15.97 MB / 314.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.42185148736462]