Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009648/0.0009648, allocations: 200.4 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.6 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006872/0.0006872, allocations: 94.89 kB / 295.1 MB, free: 4.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002206/0.0002206, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0805/0.08073, allocations: 62.95 MB / 0.5153 GB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001392/0.08216, allocations: 1.428 MB / 0.5167 GB, free: 3.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.0835, allocations: 1.511 MB / 0.5182 GB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.08357, allocations: 3.938 kB / 0.5182 GB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.08377, allocations: 31.89 kB / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.08396, allocations: 83.67 kB / 0.5183 GB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.08417, allocations: 91.45 kB / 0.5184 GB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.08429, allocations: 103.7 kB / 0.5185 GB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.3e-05/0.08436, allocations: 11.98 kB / 0.5185 GB, free: 1.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.08442, allocations: 47.72 kB / 0.5186 GB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.08453, allocations: 43.77 kB / 0.5186 GB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.08455, allocations: 0 / 0.5186 GB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.08468, allocations: 95.94 kB / 0.5187 GB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.08472, allocations: 19.92 kB / 0.5187 GB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.08475, allocations: 37.64 kB / 0.5187 GB, free: 1.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.0849, allocations: 132 kB / 0.5189 GB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.08491, allocations: 0 / 0.5189 GB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08492, allocations: 4 kB / 0.5189 GB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.08492, allocations: 0 / 0.5189 GB, free: 1.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000362/0.08529, allocations: 414.9 kB / 0.5193 GB, free: 1.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.08532, allocations: 8.031 kB / 0.5193 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.08536, allocations: 15.84 kB / 0.5193 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.08554, allocations: 224.2 kB / 0.5195 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.08556, allocations: 4 kB / 0.5195 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.08558, allocations: 4 kB / 0.5195 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.08572, allocations: 75.36 kB / 0.5196 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.08574, allocations: 0 / 0.5196 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.08576, allocations: 4 kB / 0.5196 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.08577, allocations: 4 kB / 0.5196 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.08584, allocations: 19.98 kB / 0.5196 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.0861, allocations: 316.6 kB / 0.5199 GB, free: 260 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.08626, allocations: 62.69 kB / 0.52 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.08631, allocations: 28.78 kB / 0.52 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.08634, allocations: 0 / 0.52 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.08648, allocations: 87.38 kB / 0.5201 GB, free: 56 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.08649, allocations: 0 / 0.5201 GB, free: 56 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000498/0.08699, allocations: 193.2 kB / 0.5203 GB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.08704, allocations: 77.11 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.0872, allocations: 173.5 kB / 0.5205 GB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.08723, allocations: 25.7 kB / 0.5205 GB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.08728, allocations: 100.1 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.08732, allocations: 35.64 kB / 0.5207 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.08733, allocations: 0 / 0.5207 GB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.08743, allocations: 326.8 kB / 0.521 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.08749, allocations: 23.98 kB / 0.521 GB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.08757, allocations: 42.56 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.08764, allocations: 31.94 kB / 0.5211 GB, free: 14.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.08765, allocations: 4.031 kB / 0.5211 GB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001871/0.08785, allocations: 121.5 kB / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.08787, allocations: 4 kB / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.08787, allocations: 0 / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.08789, allocations: 4 kB / 0.5212 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.08797, allocations: 15.98 kB / 0.5212 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.08798, allocations: 0 / 0.5212 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.08804, allocations: 7.953 kB / 0.5212 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.08805, allocations: 4 kB / 0.5212 GB, free: 14.82 MB / 362.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 (11): * Single equations (assignments): 11 * 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 9.32e-05/0.08815, allocations: 129.8 kB / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.08818, allocations: 11.89 kB / 0.5214 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.08822, allocations: 12.72 kB / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.08823, allocations: 4 kB / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.08824, allocations: 0 / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.08824, allocations: 0 / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.08867, allocations: 423.2 kB / 0.5218 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.08868, allocations: 4.031 kB / 0.5218 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.08872, allocations: 15.97 kB / 0.5218 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.08873, allocations: 0 / 0.5218 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.08875, allocations: 4 kB / 0.5218 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.08875, allocations: 0 / 0.5218 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.08876, allocations: 3.953 kB / 0.5218 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.08899, allocations: 216.1 kB / 0.522 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.08905, allocations: 93 kB / 0.5221 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.08909, allocations: 8 kB / 0.5221 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.08917, allocations: 7.984 kB / 0.5221 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.0892, allocations: 7.953 kB / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.08922, allocations: 7.984 kB / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.799e-05/0.08933, allocations: 132.1 kB / 0.5223 GB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08933, allocations: 0 / 0.5223 GB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.08959, allocations: 47.98 kB / 0.5223 GB, free: 13.61 MB / 362.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 (9): * Single equations (assignments): 7 * 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.0009758/0.09057, allocations: 0.5482 MB / 0.5228 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.09075, allocations: 67.89 kB / 0.5229 GB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09076, allocations: 0 / 0.5229 GB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.09084, allocations: 32 kB / 0.5229 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.09115, allocations: 32.09 kB / 0.523 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.09153, allocations: 260.2 kB / 0.5232 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.09177, allocations: 0.7043 MB / 0.5239 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.09183, allocations: 27.42 kB / 0.5239 GB, free: 12.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09184, allocations: 0 / 0.5239 GB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003595/0.09544, allocations: 2.501 MB / 0.5264 GB, free: 9.57 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches