Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001711/0.001711, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002268/0.002268, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2604/0.2604, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 70.09 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3351, allocations: 65.46 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003905/0.339, allocations: 2.3 MB / 0.5606 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3415, allocations: 1.349 MB / 0.5619 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3416, allocations: 11.88 kB / 0.5619 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.342, allocations: 135.3 kB / 0.562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.3426, allocations: 266.9 kB / 0.5623 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3431, allocations: 195.5 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.3437, allocations: 466.6 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3438, allocations: 51.91 kB / 0.563 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.3443, allocations: 346.9 kB / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3445, allocations: 175.1 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3446, allocations: 16 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3448, allocations: 71.97 kB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3449, allocations: 159.3 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3451, allocations: 206.3 kB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.3457, allocations: 485.2 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3457, allocations: 0 / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3457, allocations: 0 / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3457, allocations: 0 / 0.5644 GB, free: 1.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001229/0.347, allocations: 0.8418 MB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.347, allocations: 15.98 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3471, allocations: 76.47 kB / 0.5653 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.3477, allocations: 381.6 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3478, allocations: 8.375 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.3478, allocations: 28.06 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.3482, allocations: 197.4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3482, allocations: 4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.3483, allocations: 11.98 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3483, allocations: 4 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.3485, allocations: 91.86 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3495, allocations: 0.7969 MB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.3502, allocations: 230.5 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.3504, allocations: 87.39 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3505, allocations: 12 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.3508, allocations: 200.2 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.3508, allocations: 0 / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00267/0.3535, allocations: 1.194 MB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3536, allocations: 140.5 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3547, allocations: 0.9575 MB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.3548, allocations: 41.64 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.355, allocations: 273 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3551, allocations: 142.8 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3553, allocations: 86.08 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3554, allocations: 322 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3557, allocations: 116.8 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.356, allocations: 179.2 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.3565, allocations: 315.1 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3565, allocations: 3.938 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008131/0.3573, allocations: 452.8 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.3574, allocations: 10.34 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3574, allocations: 0 / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3574, allocations: 4 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.3577, allocations: 87.89 kB / 0.5714 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3577, allocations: 7.938 kB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3578, allocations: 19.92 kB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3579, allocations: 24.12 kB / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003318/0.3582, allocations: 248.2 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3583, allocations: 83.47 kB / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/0.3593, allocations: 0.5045 MB / 0.5723 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3593, allocations: 4 kB / 0.5723 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3593, allocations: 4 kB / 0.5723 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3593, allocations: 7.922 kB / 0.5723 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.3612, allocations: 1.31 MB / 0.5736 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3612, allocations: 0 / 0.5736 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3614, allocations: 63.86 kB / 0.5736 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.3614, allocations: 4 kB / 0.5736 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.3615, allocations: 19.98 kB / 0.5737 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.3615, allocations: 11.98 kB / 0.5737 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3615, allocations: 0 / 0.5737 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.3624, allocations: 0.8009 MB / 0.5744 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.3626, allocations: 107.5 kB / 0.5746 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.3627, allocations: 19.98 kB / 0.5746 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.363, allocations: 15.98 kB / 0.5746 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.3631, allocations: 47.81 kB / 0.5746 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.3631, allocations: 20 kB / 0.5747 GB, free: 6.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008208/0.3639, allocations: 0.7021 MB / 0.5753 GB, free: 5.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3639, allocations: 0 / 0.5753 GB, free: 5.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.3645, allocations: 87.94 kB / 0.5754 GB, free: 5.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002034/0.3665, allocations: 0.527 MB / 0.5759 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006642/0.3672, allocations: 300.2 kB / 0.5762 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3672, allocations: 7.938 kB / 0.5762 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3675, allocations: 144.1 kB / 0.5764 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.3684, allocations: 132.5 kB / 0.5765 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3703, allocations: 1.262 MB / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.3709, allocations: 0.9192 MB / 0.5786 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3711, allocations: 51.42 kB / 0.5787 GB, free: 2.5 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3711, allocations: 0 / 0.5787 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01102/0.3821, allocations: 6.845 MB / 0.5854 GB, free: 11.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.427861041855067]