Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 196.7 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000733/0.0007329, allocations: 92.91 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3347/0.3347, allocations: 44.83 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3615, allocations: 62.96 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001755/0.3633, allocations: 1.427 MB / 0.5173 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3645, allocations: 0.952 MB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.3646, allocations: 2.938 kB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3649, allocations: 50.67 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3651, allocations: 80.95 kB / 0.5183 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3653, allocations: 97.08 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3655, allocations: 91.48 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.3656, allocations: 8.734 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.3656, allocations: 42.98 kB / 0.5186 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.3657, allocations: 34.53 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3657, allocations: 3.844 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.3658, allocations: 32.34 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.3659, allocations: 30.55 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.3659, allocations: 61.64 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3661, allocations: 93.89 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3661, allocations: 3 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3661, allocations: 0 / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3661, allocations: 0 / 0.5188 GB, free: 35.16 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.0004454/0.3666, allocations: 415.3 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3666, allocations: 8.906 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.3666, allocations: 14.75 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3668, allocations: 213.5 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3668, allocations: 4.375 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3669, allocations: 10.31 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.367, allocations: 56.38 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.367, allocations: 3.906 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3671, allocations: 2.938 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3671, allocations: 3.938 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.3671, allocations: 23.97 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.3674, allocations: 294.5 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3676, allocations: 54.52 kB / 0.5199 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3677, allocations: 17.36 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3677, allocations: 10.19 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.3678, allocations: 67.89 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3678, allocations: 0 / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005211/0.3684, allocations: 179.6 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3684, allocations: 54 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3686, allocations: 230.5 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3686, allocations: 25.7 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3687, allocations: 109.2 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3687, allocations: 32.66 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.3687, allocations: 4 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.3688, allocations: 325.3 kB / 0.5209 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.3688, allocations: 23.45 kB / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.3689, allocations: 39.14 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/0.369, allocations: 56.28 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.369, allocations: 0 / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001543/0.3692, allocations: 106.4 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3692, allocations: 5.75 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3692, allocations: 0 / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3692, allocations: 7.172 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.3693, allocations: 14.36 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3693, allocations: 3.25 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3694, allocations: 7.969 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3694, allocations: 11.22 kB / 0.5211 GB, free: 33.12 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.3695, allocations: 129.3 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3695, allocations: 15.91 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.3695, allocations: 22.12 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3696, allocations: 2.844 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3696, allocations: 0 / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3696, allocations: 3.938 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3699, allocations: 401.8 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3699, allocations: 2.812 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.37, allocations: 13.19 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.37, allocations: 3.094 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.37, allocations: 3.938 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.37, allocations: 6.844 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.37, allocations: 0 / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3702, allocations: 210.3 kB / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.3702, allocations: 86.08 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3703, allocations: 7.938 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.3703, allocations: 5.594 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3704, allocations: 4.844 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3704, allocations: 5.969 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.3705, allocations: 182.2 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3705, allocations: 0 / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.3708, allocations: 31.06 kB / 0.5222 GB, free: 32.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009474/0.3717, allocations: 447.8 kB / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3719, allocations: 74.58 kB / 0.5227 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3719, allocations: 0 / 0.5227 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/0.372, allocations: 26.09 kB / 0.5227 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3723, allocations: 31.59 kB / 0.5228 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.3728, allocations: 307.2 kB / 0.5231 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3729, allocations: 0.7119 MB / 0.5238 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.373, allocations: 19.66 kB / 0.5238 GB, free: 31.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.373, allocations: 0 / 0.5238 GB, free: 31.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003257/0.3763, allocations: 2.008 MB / 0.5257 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches