Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, 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.451/1.451, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.0009866/0.0009866, allocations: 108.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.3709/0.3709, allocations: 44.12 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3628, allocations: 60.8 MB / 0.5064 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003449/0.3663, allocations: 1.776 MB / 0.5081 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3677, allocations: 0.8761 MB / 0.509 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3678, allocations: 0 / 0.509 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.3682, allocations: 82.78 kB / 0.5091 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3684, allocations: 66.25 kB / 0.5091 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3687, allocations: 98.7 kB / 0.5092 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3689, allocations: 114 kB / 0.5093 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.369, allocations: 11.91 kB / 0.5093 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.3691, allocations: 56.64 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.3692, allocations: 54 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3692, allocations: 6.625 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3694, allocations: 48.78 kB / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.3694, allocations: 26.47 kB / 0.5095 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.3695, allocations: 36.52 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3697, allocations: 128.8 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3697, allocations: 0 / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3697, allocations: 0 / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3697, allocations: 0 / 0.5097 GB, free: 35.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005046/0.3702, allocations: 434.2 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3703, allocations: 12.91 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.3703, allocations: 7.781 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3705, allocations: 220.6 kB / 0.5103 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3705, allocations: 3.531 kB / 0.5103 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3706, allocations: 6.938 kB / 0.5103 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3707, allocations: 59.02 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3707, allocations: 3.938 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3708, allocations: 4 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3708, allocations: 4.531 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.3709, allocations: 25.67 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.3712, allocations: 297.5 kB / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3714, allocations: 64.25 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.3715, allocations: 22.86 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3715, allocations: 0 / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3717, allocations: 78.39 kB / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.3717, allocations: 0 / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006905/0.3724, allocations: 245.5 kB / 0.5111 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3725, allocations: 55.34 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3726, allocations: 209.3 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3727, allocations: 29.7 kB / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.3727, allocations: 113.4 kB / 0.5115 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3728, allocations: 32.61 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3728, allocations: 25.97 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.3729, allocations: 326.9 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.3729, allocations: 29.91 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.373, allocations: 44.33 kB / 0.5119 GB, free: 34.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3731, allocations: 87.8 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3731, allocations: 0 / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000187/0.3733, allocations: 129.7 kB / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3734, allocations: 2.875 kB / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3734, allocations: 2.938 kB / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3734, allocations: 0 / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.3735, allocations: 20.52 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3735, allocations: 3.938 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.3735, allocations: 10.03 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3735, allocations: 6.906 kB / 0.5122 GB, free: 33.87 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 (13): * Single equations (assignments): 13 * 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 7.83e-05/0.3736, allocations: 137.3 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3737, allocations: 9.562 kB / 0.5123 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.3737, allocations: 15.19 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3737, allocations: 6.344 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3737, allocations: 3.938 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3737, allocations: 0 / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.3741, allocations: 461.2 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3741, allocations: 3.281 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.3742, allocations: 11.66 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3742, allocations: 2.969 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3742, allocations: 0 / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3742, allocations: 3.031 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3742, allocations: 3.188 kB / 0.5128 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.3747, allocations: 0.8278 MB / 0.5136 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.3747, allocations: 86.3 kB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3747, allocations: 6.047 kB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.3748, allocations: 0 / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3748, allocations: 25.06 kB / 0.5137 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3749, allocations: 5.531 kB / 0.5137 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.375, allocations: 157.3 kB / 0.5139 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.375, allocations: 0 / 0.5139 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.3753, allocations: 27 kB / 0.5139 GB, free: 32.33 MB / 378.7 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 (11): * Single equations (assignments): 9 * 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.001139/0.3765, allocations: 0.5199 MB / 0.5144 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3767, allocations: 80.22 kB / 0.5145 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3767, allocations: 0 / 0.5145 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.3768, allocations: 40.09 kB / 0.5145 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3771, allocations: 27.58 kB / 0.5146 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.3777, allocations: 446.1 kB / 0.515 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3779, allocations: 0.7189 MB / 0.5157 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.611e-05/0.3779, allocations: 24.5 kB / 0.5157 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.378, allocations: 13.94 kB / 0.5157 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.378, allocations: 0 / 0.5157 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004942/0.3829, allocations: 1.935 MB / 0.5176 GB, free: 30.75 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches