Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009778/0.0009778, allocations: 202.2 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.268/1.268, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007863, allocations: 89.53 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.1868/0.1868, allocations: 44.83 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.0002259, allocations: 12 kB / 464.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09633, allocations: 62.95 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002141/0.09852, allocations: 1.428 MB / 0.5167 GB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.09994, allocations: 0.9324 MB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.1, allocations: 3.938 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1003, allocations: 43.89 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1005, allocations: 67.73 kB / 0.5177 GB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1008, allocations: 98.52 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1009, allocations: 95.62 kB / 0.5179 GB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.101, allocations: 11.98 kB / 0.5179 GB, free: 56 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.1011, allocations: 35.8 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1671/0.2682, allocations: 24.19 kB / 0.518 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2683, allocations: 5.547 kB / 0.518 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2684, allocations: 36.33 kB / 0.518 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.2685, allocations: 17.08 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.2686, allocations: 38.89 kB / 0.5181 GB, free: 9.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2687, allocations: 89.77 kB / 0.5182 GB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2687, allocations: 3.469 kB / 0.5182 GB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2688, allocations: 1.156 kB / 0.5182 GB, free: 9.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.2688, allocations: 0 / 0.5182 GB, free: 9.805 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.0004107/0.2692, allocations: 400.9 kB / 0.5186 GB, free: 9.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2692, allocations: 8.281 kB / 0.5186 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2693, allocations: 18.48 kB / 0.5186 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2694, allocations: 205.9 kB / 0.5188 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2695, allocations: 4 kB / 0.5188 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2695, allocations: 3.344 kB / 0.5188 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2696, allocations: 57.62 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2697, allocations: 3.109 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2697, allocations: 4.094 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2697, allocations: 1.469 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.2698, allocations: 18.44 kB / 0.5189 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.2701, allocations: 290.6 kB / 0.5192 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2702, allocations: 64.78 kB / 0.5192 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.2703, allocations: 19.59 kB / 0.5192 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2703, allocations: 2.125 kB / 0.5192 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.2705, allocations: 70.16 kB / 0.5193 GB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2705, allocations: 0 / 0.5193 GB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000501/0.271, allocations: 170.9 kB / 0.5195 GB, free: 8.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2711, allocations: 58.11 kB / 0.5195 GB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2712, allocations: 199.5 kB / 0.5197 GB, free: 8.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2713, allocations: 28.11 kB / 0.5197 GB, free: 8.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.2713, allocations: 101.6 kB / 0.5198 GB, free: 8.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2713, allocations: 28.41 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.2714, allocations: 3.172 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.2714, allocations: 326.8 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.2715, allocations: 21.81 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.2715, allocations: 40.89 kB / 0.5202 GB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.2716, allocations: 24.91 kB / 0.5203 GB, free: 8.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2716, allocations: 0 / 0.5203 GB, free: 8.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.2718, allocations: 107.8 kB / 0.5204 GB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2718, allocations: 8.906 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2718, allocations: 0.7031 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2718, allocations: 1.125 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.2719, allocations: 16.62 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2719, allocations: 5 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.272, allocations: 4.984 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.272, allocations: 7.672 kB / 0.5204 GB, free: 8.09 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 8.533e-05/0.2721, allocations: 128.9 kB / 0.5205 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.2721, allocations: 10.77 kB / 0.5205 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.2722, allocations: 15.92 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2722, allocations: 1.656 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2722, allocations: 1.625 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2722, allocations: 5.812 kB / 0.5206 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.2726, allocations: 393.3 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2726, allocations: 1.375 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.2726, allocations: 8.594 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2726, allocations: 1.031 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2726, allocations: 6.469 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2727, allocations: 1.406 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2727, allocations: 4.609 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2728, allocations: 206.7 kB / 0.5212 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2729, allocations: 87.92 kB / 0.5212 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2729, allocations: 5.266 kB / 0.5212 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.273, allocations: 4.031 kB / 0.5213 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.273, allocations: 10.34 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.273, allocations: 4.141 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2732, allocations: 151.1 kB / 0.5214 GB, free: 7.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2732, allocations: 0 / 0.5214 GB, free: 7.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.2734, allocations: 25.08 kB / 0.5214 GB, free: 7.328 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.0008334/0.2742, allocations: 467.5 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.2744, allocations: 55.33 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2744, allocations: 0.5625 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.2745, allocations: 29.11 kB / 0.522 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.0003152/0.2748, allocations: 27.03 kB / 0.522 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.2752, allocations: 271.9 kB / 0.5222 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2754, allocations: 0.7074 MB / 0.5229 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2754, allocations: 20.44 kB / 0.523 GB, free: 6.203 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2754, allocations: 0 / 0.523 GB, free: 6.203 MB / 346.7 MB Notification: Performance of Templates: time 0.003684/0.2791, allocations: 1.949 MB / 0.5249 GB, free: 6 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches