Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 195.1 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, 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.0008634/0.0008632, allocations: 89.64 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.363, allocations: 62.96 MB / 0.5159 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001897/0.365, allocations: 1.425 MB / 0.5173 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3663, allocations: 0.9511 MB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.3664, allocations: 0 / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.3667, allocations: 41.98 kB / 0.5182 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.3669, allocations: 78.31 kB / 0.5183 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3671, allocations: 96.69 kB / 0.5184 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.3673, allocations: 92.33 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3674, allocations: 10.64 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.3675, allocations: 43.69 kB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.3675, allocations: 26.23 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.3676, allocations: 2.906 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.3677, allocations: 34.42 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.3677, allocations: 26.97 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.3678, allocations: 56.64 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3679, allocations: 96.86 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3679, allocations: 0 / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3679, allocations: 0 / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.368, allocations: 0 / 0.5188 GB, free: 35.1 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.0004963/0.3685, allocations: 402.2 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3685, allocations: 8.906 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3686, allocations: 10.59 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3688, allocations: 228.4 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3688, allocations: 384 / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3688, allocations: 11.44 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3689, allocations: 56.66 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.369, allocations: 0 / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.369, allocations: 3.938 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.369, allocations: 2.906 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.3691, allocations: 15.58 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.3694, allocations: 295.2 kB / 0.5198 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3695, allocations: 56.34 kB / 0.5198 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.3696, allocations: 20.53 kB / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3696, allocations: 0 / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3698, allocations: 75.95 kB / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3698, allocations: 0 / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.3703, allocations: 177.5 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.3703, allocations: 55.34 kB / 0.5201 GB, free: 33.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3705, allocations: 212.3 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3705, allocations: 28.98 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.3706, allocations: 102.2 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3706, allocations: 29.73 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.3706, allocations: 4 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.3707, allocations: 335.3 kB / 0.5208 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.3707, allocations: 12.75 kB / 0.5208 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.3708, allocations: 35.31 kB / 0.5209 GB, free: 33.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.308e-05/0.3709, allocations: 63.09 kB / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3709, allocations: 0 / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.371, allocations: 97.41 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3711, allocations: 3 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3711, allocations: 3.156 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3711, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.3712, allocations: 20.88 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3712, allocations: 4 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.3712, allocations: 14.34 kB / 0.5211 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3713, allocations: 3 kB / 0.5211 GB, free: 33.09 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 7.713e-05/0.3713, allocations: 129.7 kB / 0.5212 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.3714, allocations: 14.45 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.3714, allocations: 15.22 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3714, allocations: 3 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3714, allocations: 3.938 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3714, allocations: 7.125 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.3718, allocations: 393 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3718, allocations: 3.938 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.3718, allocations: 12.66 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3719, allocations: 0 / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3719, allocations: 6.938 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3719, allocations: 3.328 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3719, allocations: 3.938 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3721, allocations: 200.8 kB / 0.5218 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.3721, allocations: 87.02 kB / 0.5219 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3721, allocations: 14.66 kB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3722, allocations: 2.625 kB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3722, allocations: 6.062 kB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3723, allocations: 2.906 kB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.3724, allocations: 159.3 kB / 0.5221 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3724, allocations: 0 / 0.5221 GB, free: 32.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.3726, allocations: 21.66 kB / 0.5221 GB, free: 32.21 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.0009153/0.3735, allocations: 473.7 kB / 0.5226 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.3737, allocations: 61.53 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3737, allocations: 0 / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.3738, allocations: 32.92 kB / 0.5227 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3741, allocations: 27.41 kB / 0.5227 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.3745, allocations: 283.2 kB / 0.5229 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3747, allocations: 0.7088 MB / 0.5236 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.3747, allocations: 19.39 kB / 0.5237 GB, free: 31 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3747, allocations: 0 / 0.5237 GB, free: 31 MB / 378.7 MB Notification: Performance of Templates: time 0.003114/0.3778, allocations: 1.956 MB / 0.5256 GB, free: 30.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches