Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, 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.401/1.401, allocations: 222.9 MB / 241.6 MB, free: 11 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.001012/0.001012, allocations: 101.9 kB / 291.9 MB, free: 10.97 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.3984/0.3984, allocations: 44.14 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 59.91 kB / 457.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3628, allocations: 60.8 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003335/0.3662, allocations: 1.759 MB / 0.5081 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3675, allocations: 0.8721 MB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.3675, allocations: 1.375 kB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3678, allocations: 36.45 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.368, allocations: 49.12 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3682, allocations: 96.59 kB / 0.5091 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3684, allocations: 90.64 kB / 0.5092 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.3684, allocations: 12.64 kB / 0.5092 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.3685, allocations: 45.64 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.3686, allocations: 26.95 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3686, allocations: 0 / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3687, allocations: 44.36 kB / 0.5093 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.3687, allocations: 20.09 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.3688, allocations: 29.5 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.3689, allocations: 109.7 kB / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3689, allocations: 0 / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3689, allocations: 4 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.3689, allocations: 3.938 kB / 0.5095 GB, free: 36.29 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.0003938/0.3693, allocations: 406.6 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.3694, allocations: 8.906 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.3694, allocations: 10.75 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3696, allocations: 209.8 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.3696, allocations: 384 / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3696, allocations: 11.22 kB / 0.5101 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3697, allocations: 55.94 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3698, allocations: 7.938 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.3698, allocations: 2.781 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3698, allocations: 0 / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.391e-05/0.3699, allocations: 19.17 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3701, allocations: 287.5 kB / 0.5105 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3703, allocations: 65.55 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.3703, allocations: 16.73 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3704, allocations: 0 / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3705, allocations: 69.12 kB / 0.5106 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3705, allocations: 0 / 0.5106 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004284/0.371, allocations: 172.8 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.371, allocations: 58.41 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3711, allocations: 183.8 kB / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.3712, allocations: 29.64 kB / 0.5111 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.3712, allocations: 100.3 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3712, allocations: 26.23 kB / 0.5112 GB, free: 34.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3713, allocations: 29.17 kB / 0.5112 GB, free: 34.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.3713, allocations: 325 kB / 0.5115 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.3714, allocations: 26.89 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.3714, allocations: 39.3 kB / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.229e-05/0.3715, allocations: 54.53 kB / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3715, allocations: 4 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001462/0.3717, allocations: 100.8 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3717, allocations: 5.781 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3717, allocations: 0 / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3717, allocations: 7.031 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.3718, allocations: 11.75 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3718, allocations: 3.375 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.3719, allocations: 6.844 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3719, allocations: 6.859 kB / 0.5118 GB, free: 34.29 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.432e-05/0.372, allocations: 129.9 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.372, allocations: 13.5 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.372, allocations: 14.78 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.372, allocations: 0 / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.372, allocations: 4 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3721, allocations: 7.125 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.3724, allocations: 387.9 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3724, allocations: 3.234 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.3724, allocations: 12.09 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3724, allocations: 0 / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3724, allocations: 6.812 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3724, allocations: 0 / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3724, allocations: 6.5 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3728, allocations: 0.7816 MB / 0.5131 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.3728, allocations: 87.92 kB / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3729, allocations: 3.281 kB / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.3729, allocations: 6.906 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.373, allocations: 10.27 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.373, allocations: 5.906 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.999e-05/0.3731, allocations: 152.8 kB / 0.5133 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3731, allocations: 0 / 0.5133 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.3734, allocations: 27.31 kB / 0.5134 GB, free: 32.8 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.0009801/0.3744, allocations: 463 kB / 0.5138 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.3746, allocations: 65.36 kB / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3746, allocations: 0 / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.3747, allocations: 27.52 kB / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.375, allocations: 28.17 kB / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.3755, allocations: 377.3 kB / 0.5143 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3756, allocations: 0.7053 MB / 0.515 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3757, allocations: 13.17 kB / 0.515 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3757, allocations: 15.78 kB / 0.515 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3757, allocations: 3.938 kB / 0.515 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003707/0.3795, allocations: 1.678 MB / 0.5166 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches