Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 106.1 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4303/0.4303, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 60.09 kB / 457.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3353, allocations: 60.79 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002973/0.3383, allocations: 1.766 MB / 0.5081 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3395, allocations: 0.8721 MB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.3395, allocations: 0 / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.3398, allocations: 32.89 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.34, allocations: 52.22 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3402, allocations: 90.19 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3403, allocations: 92.33 kB / 0.5092 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.3404, allocations: 10.42 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.3405, allocations: 47.77 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.3406, allocations: 30.8 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3406, allocations: 0 / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.3407, allocations: 40.56 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.3407, allocations: 21.83 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.3408, allocations: 33.09 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3409, allocations: 107.7 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3409, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3409, allocations: 3.938 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.341, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004087/0.3414, allocations: 411.4 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3414, allocations: 9.25 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.3415, allocations: 15.19 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3416, allocations: 208 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3416, allocations: 4.375 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3417, allocations: 6.656 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3418, allocations: 60.92 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3418, allocations: 0 / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3418, allocations: 0 / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3418, allocations: 4 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.3419, allocations: 18.22 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.3422, allocations: 291.3 kB / 0.5105 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3423, allocations: 59.28 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.3424, allocations: 21.09 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3424, allocations: 4 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3425, allocations: 64.42 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3426, allocations: 0 / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004471/0.343, allocations: 175.3 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.343, allocations: 51.41 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3432, allocations: 189.6 kB / 0.511 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3432, allocations: 29.7 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.3432, allocations: 102.6 kB / 0.5112 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3433, allocations: 24.89 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3433, allocations: 23.53 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.3434, allocations: 329.1 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.3434, allocations: 21.64 kB / 0.5115 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.3435, allocations: 38.91 kB / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.3436, allocations: 58.62 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3436, allocations: 0 / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.3437, allocations: 107.2 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3438, allocations: 5.719 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3438, allocations: 0 / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3438, allocations: 0 / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.3439, allocations: 17.5 kB / 0.5118 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3439, allocations: 0 / 0.5118 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.3439, allocations: 11.28 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3439, allocations: 2.938 kB / 0.5118 GB, free: 34.2 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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 6.728e-05/0.344, allocations: 129.8 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.344, allocations: 13.72 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.3441, allocations: 21.95 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3441, allocations: 0 / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3441, allocations: 0 / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3441, allocations: 3.938 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3444, allocations: 394.2 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3444, allocations: 3 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.3445, allocations: 5.375 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3445, allocations: 2.438 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3445, allocations: 7.219 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3445, allocations: 2.844 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3445, allocations: 0 / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.3448, allocations: 0.7816 MB / 0.5131 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.3449, allocations: 91.02 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3449, allocations: 2.5 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.345, allocations: 6.656 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.345, allocations: 5.875 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.345, allocations: 13.39 kB / 0.5132 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.72e-05/0.3451, allocations: 148.9 kB / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3451, allocations: 0 / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.3454, allocations: 28.34 kB / 0.5134 GB, free: 32.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.0008608/0.3463, allocations: 461.3 kB / 0.5138 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3465, allocations: 56.91 kB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3465, allocations: 0 / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.3465, allocations: 35.47 kB / 0.5139 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3469, allocations: 28.22 kB / 0.5139 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.3473, allocations: 377.5 kB / 0.5143 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3474, allocations: 0.7047 MB / 0.515 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.3474, allocations: 16.88 kB / 0.515 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3475, allocations: 22.67 kB / 0.515 GB, free: 31.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3475, allocations: 0 / 0.515 GB, free: 31.42 MB / 378.7 MB Notification: Performance of Templates: time 0.004283/0.3518, allocations: 1.677 MB / 0.5166 GB, free: 31.23 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches