Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009732/0.0009773, allocations: 201.6 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007092/0.0007092, allocations: 102.6 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1864/0.1864, allocations: 44.83 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002489, allocations: 12 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09333, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00185/0.09522, allocations: 1.424 MB / 0.5167 GB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.09655, allocations: 0.9441 MB / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.09664, allocations: 3.938 kB / 0.5177 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.09689, allocations: 55.86 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.09711, allocations: 75.72 kB / 0.5178 GB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.09736, allocations: 95.77 kB / 0.5179 GB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.09751, allocations: 91.69 kB / 0.518 GB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.09759, allocations: 16 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.09767, allocations: 43.77 kB / 0.518 GB, free: 4 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1743/0.272, allocations: 26.16 kB / 0.518 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.2721, allocations: 2.875 kB / 0.518 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2722, allocations: 33.58 kB / 0.5181 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.2723, allocations: 28.83 kB / 0.5181 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.2723, allocations: 41.56 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2725, allocations: 99.45 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2725, allocations: 3.812 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2725, allocations: 2.016 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2725, allocations: 0 / 0.5182 GB, free: 9.844 MB / 346.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.0004192/0.273, allocations: 428 kB / 0.5186 GB, free: 9.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.273, allocations: 9.953 kB / 0.5187 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2731, allocations: 18.84 kB / 0.5187 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.2732, allocations: 216.9 kB / 0.5189 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2733, allocations: 1.719 kB / 0.5189 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2733, allocations: 10.88 kB / 0.5189 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.2734, allocations: 53.27 kB / 0.5189 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2734, allocations: 4.422 kB / 0.519 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2735, allocations: 3.297 kB / 0.519 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2735, allocations: 1.219 kB / 0.519 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.2735, allocations: 25.67 kB / 0.519 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2738, allocations: 296.2 kB / 0.5193 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.274, allocations: 59.09 kB / 0.5193 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.2741, allocations: 20.11 kB / 0.5193 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2741, allocations: 3 kB / 0.5193 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.2742, allocations: 65.86 kB / 0.5194 GB, free: 8.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2742, allocations: 0 / 0.5194 GB, free: 8.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004831/0.2747, allocations: 183.1 kB / 0.5196 GB, free: 8.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2748, allocations: 55.97 kB / 0.5196 GB, free: 8.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.275, allocations: 274.3 kB / 0.5199 GB, free: 8.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.275, allocations: 28.17 kB / 0.5199 GB, free: 8.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.2751, allocations: 112.9 kB / 0.52 GB, free: 8.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2751, allocations: 28.67 kB / 0.5201 GB, free: 8.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2751, allocations: 3.562 kB / 0.5201 GB, free: 8.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.2752, allocations: 327.4 kB / 0.5204 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.2752, allocations: 22.91 kB / 0.5204 GB, free: 8.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.2753, allocations: 41.94 kB / 0.5204 GB, free: 8.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.2754, allocations: 22.81 kB / 0.5205 GB, free: 8.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2754, allocations: 0 / 0.5205 GB, free: 8.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001614/0.2755, allocations: 106.5 kB / 0.5206 GB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2756, allocations: 5.625 kB / 0.5206 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2756, allocations: 3.938 kB / 0.5206 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2756, allocations: 1.5 kB / 0.5206 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.2757, allocations: 19.56 kB / 0.5206 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2757, allocations: 1.312 kB / 0.5206 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.2757, allocations: 5.469 kB / 0.5206 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2758, allocations: 7.703 kB / 0.5206 GB, free: 8.109 MB / 346.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 7.775e-05/0.2758, allocations: 136.2 kB / 0.5207 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2759, allocations: 18.44 kB / 0.5207 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.2759, allocations: 21.12 kB / 0.5208 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2759, allocations: 0.9688 kB / 0.5208 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2759, allocations: 2.719 kB / 0.5208 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2759, allocations: 4.562 kB / 0.5208 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.2763, allocations: 403.4 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2763, allocations: 1.031 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.2763, allocations: 12.97 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2764, allocations: 5.094 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2764, allocations: 1.922 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2764, allocations: 1 kB / 0.5212 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2764, allocations: 5.172 kB / 0.5212 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2766, allocations: 208.8 kB / 0.5214 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2766, allocations: 97.72 kB / 0.5215 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.2766, allocations: 5.297 kB / 0.5215 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.2767, allocations: 4.281 kB / 0.5215 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2767, allocations: 9.234 kB / 0.5215 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2768, allocations: 8.234 kB / 0.5215 GB, free: 7.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.2769, allocations: 201.9 kB / 0.5217 GB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2769, allocations: 0 / 0.5217 GB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.2772, allocations: 24.05 kB / 0.5217 GB, free: 7.336 MB / 346.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.0008152/0.278, allocations: 469.2 kB / 0.5222 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.2781, allocations: 57.69 kB / 0.5222 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2782, allocations: 0 / 0.5222 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.2782, allocations: 34.44 kB / 0.5223 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2785, allocations: 28.08 kB / 0.5223 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.279, allocations: 343 kB / 0.5226 GB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2791, allocations: 0.7223 MB / 0.5233 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.2791, allocations: 17.23 kB / 0.5233 GB, free: 6.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2791, allocations: 0 / 0.5233 GB, free: 6.18 MB / 346.7 MB Notification: Performance of Templates: time 0.003648/0.2828, allocations: 2.095 MB / 0.5254 GB, free: 5.957 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches