Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001794/0.001794, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002219/0.002219, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2271/0.2271, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.83 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 66.03 MB / 0.5619 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003624/0.344, allocations: 1.741 MB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3459, allocations: 0.9832 MB / 0.5646 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.346, allocations: 4 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3464, allocations: 99.66 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.3468, allocations: 131.5 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.347, allocations: 83.67 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.3472, allocations: 143.6 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3474, allocations: 9.594 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3475, allocations: 71.69 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3477, allocations: 79.72 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3477, allocations: 8 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3478, allocations: 59.92 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.3479, allocations: 39.91 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.348, allocations: 31.73 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.3483, allocations: 169.9 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3483, allocations: 4 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3483, allocations: 0 / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3483, allocations: 0 / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007801/0.3491, allocations: 401.1 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3491, allocations: 8.031 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.3492, allocations: 16.84 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.3496, allocations: 159.3 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3496, allocations: 8.375 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3496, allocations: 12.11 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.3498, allocations: 69.73 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3499, allocations: 7.953 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3499, allocations: 4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3499, allocations: 0 / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.35, allocations: 43.91 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3505, allocations: 268.4 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.3508, allocations: 78.53 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.3509, allocations: 36.86 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3509, allocations: 7.938 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.3511, allocations: 91.38 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3511, allocations: 0 / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009374/0.352, allocations: 309.1 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3521, allocations: 55.34 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3524, allocations: 267.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3524, allocations: 33.7 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.3525, allocations: 120.1 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3525, allocations: 47.64 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.3526, allocations: 25.72 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3528, allocations: 338.8 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.3528, allocations: 35.98 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.353, allocations: 57.69 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3531, allocations: 109.3 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3532, allocations: 4 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003041/0.3535, allocations: 161.5 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3535, allocations: 4 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3535, allocations: 7.984 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3535, allocations: 32 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3536, allocations: 31.98 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.3536, allocations: 8.781 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.3537, allocations: 7.938 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3537, allocations: 4 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001408/0.3538, allocations: 144.3 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3539, allocations: 19.86 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.3543, allocations: 191.1 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3543, allocations: 4 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3543, allocations: 3.938 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3543, allocations: 7.984 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.3549, allocations: 467.4 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3549, allocations: 4 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.355, allocations: 23.98 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.355, allocations: 4 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.355, allocations: 0 / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.355, allocations: 4 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.355, allocations: 0 / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.3554, allocations: 285.1 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.3554, allocations: 19.86 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3555, allocations: 4 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.3555, allocations: 7.984 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3556, allocations: 11.98 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3556, allocations: 4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.3558, allocations: 205.5 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3558, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3561, allocations: 31.94 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00211/0.3582, allocations: 0.5621 MB / 0.5701 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3585, allocations: 99.84 kB / 0.5702 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3585, allocations: 4 kB / 0.5702 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3586, allocations: 51.91 kB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.359, allocations: 39.7 kB / 0.5703 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.3597, allocations: 366.4 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.3598, allocations: 123.4 kB / 0.5707 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.3599, allocations: 19.44 kB / 0.5708 GB, free: 11.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3599, allocations: 0 / 0.5708 GB, free: 11.13 MB / 414.1 MB Notification: Performance of Templates: time 0.004925/0.3648, allocations: 2.602 MB / 0.5733 GB, free: 8.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.043526107998332]