Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, 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.298/1.298, 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.001166/0.001166, allocations: 117 kB / 291.9 MB, free: 10.94 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.3829/0.3829, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3636, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002969/0.3666, allocations: 1.765 MB / 0.5081 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3678, allocations: 0.8722 MB / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.3679, allocations: 0 / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3682, allocations: 54.55 kB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3683, allocations: 53.48 kB / 0.5091 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3686, allocations: 93.59 kB / 0.5092 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3687, allocations: 99.36 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.3688, allocations: 9.891 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.3689, allocations: 46.14 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.369, allocations: 33.75 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.369, allocations: 2.844 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.3691, allocations: 41.8 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.3692, allocations: 24.88 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3692, allocations: 41.88 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3694, allocations: 132.9 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3694, allocations: 6.844 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3694, allocations: 4 kB / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3694, allocations: 0 / 0.5096 GB, free: 36.14 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.0004495/0.3699, allocations: 438 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3699, allocations: 10.44 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.37, allocations: 13.84 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3702, allocations: 218.2 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3702, allocations: 384 / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3702, allocations: 7.031 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3704, allocations: 65.84 kB / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3704, allocations: 0 / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3704, allocations: 0 / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3704, allocations: 0 / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.3705, allocations: 22.66 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.3708, allocations: 299.3 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.371, allocations: 65.06 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.371, allocations: 20.73 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.371, allocations: 3.938 kB / 0.5107 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3712, allocations: 64.3 kB / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3712, allocations: 0 / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004656/0.3717, allocations: 177.6 kB / 0.5109 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3717, allocations: 59.41 kB / 0.511 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3719, allocations: 273.2 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3719, allocations: 28.64 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.372, allocations: 113.6 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.372, allocations: 24.83 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.372, allocations: 23.47 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.3721, allocations: 331.3 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.3722, allocations: 23.69 kB / 0.5118 GB, free: 34.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.3722, allocations: 39.88 kB / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.3723, allocations: 60 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3723, allocations: 0 / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.3725, allocations: 107.9 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3725, allocations: 7.5 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3725, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3725, allocations: 4.031 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.3726, allocations: 18.66 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3726, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3727, allocations: 18.81 kB / 0.512 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3727, allocations: 6.328 kB / 0.512 GB, free: 34.07 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 7.498e-05/0.3728, allocations: 143 kB / 0.5122 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.3728, allocations: 13.66 kB / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.3728, allocations: 21.05 kB / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3729, allocations: 4 kB / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3729, allocations: 0 / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3729, allocations: 3.938 kB / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3732, allocations: 409.1 kB / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3732, allocations: 0 / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.3733, allocations: 9.25 kB / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3733, allocations: 0 / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3733, allocations: 10.03 kB / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3733, allocations: 32 / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3733, allocations: 4 kB / 0.5126 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3736, allocations: 0.7908 MB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3737, allocations: 90.55 kB / 0.5135 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3737, allocations: 7.281 kB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.3738, allocations: 6.938 kB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3738, allocations: 5.953 kB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3738, allocations: 5.531 kB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3739, allocations: 206.4 kB / 0.5137 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.374, allocations: 0 / 0.5137 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.3743, allocations: 32.5 kB / 0.5137 GB, free: 32.56 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.0008544/0.3751, allocations: 462 kB / 0.5142 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3753, allocations: 62.09 kB / 0.5142 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3753, allocations: 6.812 kB / 0.5142 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.3754, allocations: 28.69 kB / 0.5142 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3757, allocations: 37.48 kB / 0.5143 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.3762, allocations: 450 kB / 0.5147 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3764, allocations: 0.7248 MB / 0.5154 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.3764, allocations: 15.64 kB / 0.5154 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3765, allocations: 15.25 kB / 0.5155 GB, free: 31.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3765, allocations: 4 kB / 0.5155 GB, free: 31.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004233/0.3807, allocations: 1.714 MB / 0.5171 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches