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.001819/0.001819, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002278/0.002278, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2345/0.2345, allocations: 46.98 MB / 361.6 MB, free: 4.051 MB / 286.1 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.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|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.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.35, allocations: 66.05 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004743/0.3548, allocations: 2.232 MB / 0.5641 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.3575, allocations: 1.346 MB / 0.5654 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3577, allocations: 7.938 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.3583, allocations: 291 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007307/0.359, allocations: 342.6 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.3595, allocations: 219.5 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.3602, allocations: 0.5685 MB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3603, allocations: 44.92 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.3607, allocations: 247 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.3611, allocations: 290.9 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3611, allocations: 20 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3613, allocations: 55.98 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3614, allocations: 119.5 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3616, allocations: 146.9 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.362, allocations: 432.6 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3621, allocations: 0 / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3621, allocations: 0 / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3621, allocations: 0 / 0.568 GB, free: 13.83 MB / 414.1 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.001298/0.3634, allocations: 0.7456 MB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3634, allocations: 8.031 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3635, allocations: 56.56 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.3642, allocations: 357.1 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3643, allocations: 12.38 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3643, allocations: 16.12 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3647, allocations: 209.8 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3647, allocations: 3.984 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3648, allocations: 8 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3648, allocations: 4 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.365, allocations: 107.9 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.366, allocations: 0.7938 MB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.3667, allocations: 281.2 kB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.3669, allocations: 100.2 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3669, allocations: 7.938 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.3674, allocations: 227.5 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.3674, allocations: 4 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002244/0.3696, allocations: 1.076 MB / 0.5719 GB, free: 9.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3697, allocations: 166.2 kB / 0.5721 GB, free: 9.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.3706, allocations: 0.6787 MB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3706, allocations: 33.7 kB / 0.5728 GB, free: 8.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.3708, allocations: 241 kB / 0.573 GB, free: 8.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3709, allocations: 130.9 kB / 0.5732 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3711, allocations: 78.06 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3713, allocations: 374.8 kB / 0.5736 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3715, allocations: 104.8 kB / 0.5737 GB, free: 7.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.3718, allocations: 184.9 kB / 0.5739 GB, free: 7.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.3724, allocations: 312.3 kB / 0.5742 GB, free: 7.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3724, allocations: 0 / 0.5742 GB, free: 7.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008064/0.3732, allocations: 429.1 kB / 0.5746 GB, free: 6.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3732, allocations: 8 kB / 0.5746 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3732, allocations: 4 kB / 0.5746 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3732, allocations: 4 kB / 0.5746 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.3736, allocations: 85.58 kB / 0.5747 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3736, allocations: 7.938 kB / 0.5747 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3738, allocations: 15.98 kB / 0.5747 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3738, allocations: 20 kB / 0.5747 GB, free: 6.652 MB / 414.1 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.0002338/0.3741, allocations: 208.3 kB / 0.5749 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.3741, allocations: 71.55 kB / 0.575 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3752, allocations: 497.9 kB / 0.5754 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3752, allocations: 4 kB / 0.5755 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3752, allocations: 0 / 0.5755 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3752, allocations: 7.984 kB / 0.5755 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3769, allocations: 1.237 MB / 0.5767 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.377, allocations: 4 kB / 0.5767 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3771, allocations: 55.92 kB / 0.5767 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3771, allocations: 4 kB / 0.5767 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.526e-05/0.3772, allocations: 19.98 kB / 0.5767 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3772, allocations: 4 kB / 0.5768 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.3772, allocations: 7.938 kB / 0.5768 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3783, allocations: 0.8636 MB / 0.5776 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.3784, allocations: 51.62 kB / 0.5777 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.3784, allocations: 15.98 kB / 0.5777 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.3788, allocations: 19.98 kB / 0.5777 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.3789, allocations: 39.83 kB / 0.5777 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.3789, allocations: 27.98 kB / 0.5777 GB, free: 3.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005955/0.3795, allocations: 0.491 MB / 0.5782 GB, free: 2.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 0.5782 GB, free: 2.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.3801, allocations: 91.92 kB / 0.5783 GB, free: 2.844 MB / 414.1 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.001934/0.382, allocations: 0.5123 MB / 0.5788 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.3827, allocations: 307.4 kB / 0.5791 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3827, allocations: 0 / 0.5791 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.3831, allocations: 153.1 kB / 0.5793 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3842, allocations: 143.8 kB / 0.5794 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3858, allocations: 0.9839 MB / 0.5804 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3862, allocations: 267.9 kB / 0.5806 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3863, allocations: 51.42 kB / 0.5807 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3863, allocations: 0 / 0.5807 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of Templates: time 0.01125/0.3975, allocations: 6.784 MB / 0.5873 GB, free: 9.816 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.691397924994817]