Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 197.6 kB / 15.79 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000783/0.0007831, allocations: 92.16 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1877/0.1877, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002505, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09206, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001899/0.09399, allocations: 1.424 MB / 0.5167 GB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.09539, allocations: 0.9479 MB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.09549, allocations: 0 / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.09576, allocations: 39.83 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.09603, allocations: 67.75 kB / 0.5178 GB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.09632, allocations: 95.81 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.09647, allocations: 91.69 kB / 0.5179 GB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.09656, allocations: 4 kB / 0.5179 GB, free: 68 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.09667, allocations: 43.8 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1812/0.2779, allocations: 29.09 kB / 0.518 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.278, allocations: 2.969 kB / 0.518 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2782, allocations: 34.3 kB / 0.518 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.2782, allocations: 16.38 kB / 0.5181 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.2783, allocations: 40.25 kB / 0.5181 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2785, allocations: 90.25 kB / 0.5182 GB, free: 9.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2785, allocations: 0 / 0.5182 GB, free: 9.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2785, allocations: 1.203 kB / 0.5182 GB, free: 9.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2785, allocations: 1.312 kB / 0.5182 GB, free: 9.801 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.0004606/0.279, allocations: 396.8 kB / 0.5186 GB, free: 9.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.279, allocations: 10.91 kB / 0.5186 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.2791, allocations: 15.44 kB / 0.5186 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2793, allocations: 209.3 kB / 0.5188 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2793, allocations: 3.531 kB / 0.5188 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2793, allocations: 5.531 kB / 0.5188 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2795, allocations: 55.94 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2795, allocations: 1.406 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2795, allocations: 0.5625 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2795, allocations: 1.562 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.2796, allocations: 21.95 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.28, allocations: 294 kB / 0.5192 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.2801, allocations: 56.66 kB / 0.5192 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.2802, allocations: 22.5 kB / 0.5192 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2802, allocations: 4.312 kB / 0.5192 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.2804, allocations: 70.52 kB / 0.5193 GB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2804, allocations: 4.875 kB / 0.5193 GB, free: 8.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.281, allocations: 168.7 kB / 0.5195 GB, free: 8.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.281, allocations: 53.56 kB / 0.5195 GB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.2812, allocations: 199.9 kB / 0.5197 GB, free: 8.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2812, allocations: 28.77 kB / 0.5197 GB, free: 8.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.2813, allocations: 102.6 kB / 0.5198 GB, free: 8.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.2813, allocations: 29.33 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.2813, allocations: 1.312 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2814, allocations: 327.8 kB / 0.5202 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.2815, allocations: 19.75 kB / 0.5202 GB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.2815, allocations: 40.83 kB / 0.5202 GB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.2816, allocations: 22.34 kB / 0.5203 GB, free: 8.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2816, allocations: 3.234 kB / 0.5203 GB, free: 8.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.2818, allocations: 102.3 kB / 0.5204 GB, free: 8.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2818, allocations: 13.16 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2818, allocations: 1.25 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2818, allocations: 1.219 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.2819, allocations: 15.67 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2819, allocations: 1.75 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.282, allocations: 3.688 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.282, allocations: 8.672 kB / 0.5204 GB, free: 8.094 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.908e-05/0.2821, allocations: 127.2 kB / 0.5205 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2821, allocations: 9.859 kB / 0.5205 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.2822, allocations: 20.53 kB / 0.5205 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2822, allocations: 2.156 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2822, allocations: 0.6094 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2822, allocations: 3.375 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.2826, allocations: 395.2 kB / 0.5209 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2826, allocations: 3.625 kB / 0.5209 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.2826, allocations: 8.156 kB / 0.5209 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2827, allocations: 5.797 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2827, allocations: 5.562 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2827, allocations: 1.531 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2827, allocations: 3.953 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2829, allocations: 205 kB / 0.5212 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.2829, allocations: 89.81 kB / 0.5212 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2829, allocations: 3.391 kB / 0.5212 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.283, allocations: 7.422 kB / 0.5213 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2831, allocations: 12.41 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.2831, allocations: 4.766 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.2832, allocations: 144.7 kB / 0.5214 GB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2832, allocations: 192 / 0.5214 GB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.2835, allocations: 25.72 kB / 0.5214 GB, free: 7.332 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.0008883/0.2844, allocations: 468.5 kB / 0.5219 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2846, allocations: 55.88 kB / 0.5219 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2846, allocations: 0 / 0.5219 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.2847, allocations: 31.94 kB / 0.522 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.285, allocations: 37.64 kB / 0.522 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.2854, allocations: 270.7 kB / 0.5223 GB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2856, allocations: 0.7095 MB / 0.5229 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.2856, allocations: 17.36 kB / 0.523 GB, free: 6.199 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2856, allocations: 0 / 0.523 GB, free: 6.199 MB / 346.7 MB Notification: Performance of Templates: time 0.004149/0.2898, allocations: 1.929 MB / 0.5248 GB, free: 6.012 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches