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.001347/0.001347, allocations: 107 kB / 21.18 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.001536/0.001536, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2341/0.2341, allocations: 46.96 MB / 361.6 MB, free: 4.008 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.002047/0.002047, allocations: 67.89 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003923/0.3187, allocations: 2.239 MB / 0.5641 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3214, allocations: 1.349 MB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3216, allocations: 7.938 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.3221, allocations: 283 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000691/0.3228, allocations: 342.6 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.3234, allocations: 223.5 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.324, allocations: 0.5724 MB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3242, allocations: 36.94 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.3245, allocations: 243 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3249, allocations: 302.9 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.325, allocations: 20 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3251, allocations: 55.98 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3253, allocations: 119.5 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3254, allocations: 146.9 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.326, allocations: 428.6 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.326, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.326, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.326, allocations: 0 / 0.568 GB, free: 13.77 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.001274/0.3273, allocations: 0.7417 MB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3273, allocations: 12.03 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3274, allocations: 60.55 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.3281, allocations: 345.1 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3281, allocations: 16.38 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.3282, allocations: 24.11 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.3286, allocations: 209.8 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3287, allocations: 0 / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.3287, allocations: 7.984 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3287, allocations: 4 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.329, allocations: 111.8 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3301, allocations: 0.786 MB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.3308, allocations: 293.2 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.3311, allocations: 100.2 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3311, allocations: 8 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004824/0.3316, allocations: 231.5 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.3316, allocations: 4 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002647/0.3342, allocations: 1.066 MB / 0.5719 GB, free: 9.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3343, allocations: 174.1 kB / 0.5721 GB, free: 9.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.3352, allocations: 0.6748 MB / 0.5728 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.3352, allocations: 37.7 kB / 0.5728 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3354, allocations: 241 kB / 0.573 GB, free: 8.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3356, allocations: 126.9 kB / 0.5732 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3357, allocations: 78.12 kB / 0.5732 GB, free: 8.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3359, allocations: 374.8 kB / 0.5736 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3362, allocations: 100.8 kB / 0.5737 GB, free: 7.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.3365, allocations: 192.8 kB / 0.5739 GB, free: 7.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.3371, allocations: 308.4 kB / 0.5742 GB, free: 7.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3371, allocations: 0 / 0.5742 GB, free: 7.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008608/0.338, allocations: 428.9 kB / 0.5746 GB, free: 6.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.338, allocations: 8 kB / 0.5746 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.338, allocations: 0 / 0.5746 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.338, allocations: 4 kB / 0.5746 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.3383, allocations: 87.98 kB / 0.5747 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3384, allocations: 8 kB / 0.5747 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3386, allocations: 19.98 kB / 0.5747 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.3386, allocations: 16.19 kB / 0.5747 GB, free: 6.59 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.0002647/0.3389, allocations: 200.4 kB / 0.5749 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.339, allocations: 71.5 kB / 0.575 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3401, allocations: 0.498 MB / 0.5755 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3401, allocations: 12 kB / 0.5755 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3401, allocations: 0 / 0.5755 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3401, allocations: 7.984 kB / 0.5755 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3419, allocations: 1.225 MB / 0.5767 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3419, allocations: 4 kB / 0.5767 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3421, allocations: 51.91 kB / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3421, allocations: 12.16 kB / 0.5767 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.3421, allocations: 19.98 kB / 0.5768 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3421, allocations: 4 kB / 0.5768 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3421, allocations: 3.938 kB / 0.5768 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3432, allocations: 0.8595 MB / 0.5776 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.3433, allocations: 51.61 kB / 0.5776 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.3434, allocations: 16 kB / 0.5777 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3438, allocations: 19.98 kB / 0.5777 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.3439, allocations: 47.81 kB / 0.5777 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.3439, allocations: 19.98 kB / 0.5777 GB, free: 3.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.3445, allocations: 0.4949 MB / 0.5782 GB, free: 2.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3445, allocations: 0 / 0.5782 GB, free: 2.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006055/0.3451, allocations: 87.94 kB / 0.5783 GB, free: 2.785 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.001924/0.3471, allocations: 0.5101 MB / 0.5788 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.3478, allocations: 303.3 kB / 0.5791 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3478, allocations: 0 / 0.5791 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.3481, allocations: 153.6 kB / 0.5792 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3493, allocations: 155.1 kB / 0.5794 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3508, allocations: 0.9348 MB / 0.5803 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3511, allocations: 263.9 kB / 0.5806 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.3513, allocations: 83.39 kB / 0.5806 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.3514, allocations: 55.42 kB / 0.5807 GB, free: 496 kB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3514, allocations: 0 / 0.5807 GB, free: 496 kB / 414.1 MB Notification: Performance of Templates: time 0.01346/0.3649, allocations: 6.736 MB / 0.5873 GB, free: 9.852 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 -s gbode -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: 5.180912754993187]