Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009127/0.0009127, allocations: 201.4 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 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.0007341/0.0007342, allocations: 101.3 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.1866/0.1866, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002356/0.0002357, allocations: 12 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08715, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001957/0.08915, allocations: 1.439 MB / 0.5167 GB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.09052, allocations: 0.9402 MB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.09061, allocations: 0 / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.09086, allocations: 47.81 kB / 0.5177 GB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.09114, allocations: 87.72 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.09143, allocations: 94.52 kB / 0.5179 GB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.09161, allocations: 107.7 kB / 0.518 GB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.09171, allocations: 19.91 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1695/0.2612, allocations: 40.27 kB / 0.518 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2614, allocations: 43.02 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2614, allocations: 3.062 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.2617, allocations: 54.86 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.2617, allocations: 26.5 kB / 0.5182 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.2618, allocations: 40.41 kB / 0.5182 GB, free: 9.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.262, allocations: 103.7 kB / 0.5183 GB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2621, allocations: 2.375 kB / 0.5183 GB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2621, allocations: 0 / 0.5183 GB, free: 9.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2621, allocations: 0 / 0.5183 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005619/0.2627, allocations: 424.2 kB / 0.5187 GB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2627, allocations: 10.66 kB / 0.5187 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.2628, allocations: 13.67 kB / 0.5187 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.263, allocations: 226.3 kB / 0.5189 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.263, allocations: 8.391 kB / 0.519 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.2631, allocations: 6 kB / 0.519 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2633, allocations: 71.2 kB / 0.519 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2633, allocations: 0.75 kB / 0.519 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2633, allocations: 2.281 kB / 0.519 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2633, allocations: 0.5 kB / 0.519 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2635, allocations: 49.14 kB / 0.5191 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.2638, allocations: 321.1 kB / 0.5194 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.2641, allocations: 88.34 kB / 0.5195 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.2642, allocations: 29.09 kB / 0.5195 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2642, allocations: 5.719 kB / 0.5195 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2644, allocations: 78.77 kB / 0.5196 GB, free: 8.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2644, allocations: 0.625 kB / 0.5196 GB, free: 8.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007642/0.2652, allocations: 298.8 kB / 0.5199 GB, free: 8.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.2652, allocations: 60.11 kB / 0.5199 GB, free: 8.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2654, allocations: 194.7 kB / 0.5201 GB, free: 8.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2654, allocations: 34.56 kB / 0.5201 GB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2654, allocations: 105.1 kB / 0.5202 GB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.2655, allocations: 43.03 kB / 0.5203 GB, free: 8.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.2655, allocations: 0 / 0.5203 GB, free: 8.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.2655, allocations: 326.5 kB / 0.5206 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.2656, allocations: 36.75 kB / 0.5206 GB, free: 8.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.2657, allocations: 56.38 kB / 0.5207 GB, free: 8.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.2658, allocations: 42.8 kB / 0.5207 GB, free: 8.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2658, allocations: 5.359 kB / 0.5207 GB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002205/0.266, allocations: 156.4 kB / 0.5209 GB, free: 8.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.266, allocations: 4.938 kB / 0.5209 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.266, allocations: 0.7812 kB / 0.5209 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2661, allocations: 2.016 kB / 0.5209 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.2662, allocations: 28.23 kB / 0.5209 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2662, allocations: 5.297 kB / 0.5209 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.2662, allocations: 9.453 kB / 0.5209 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.2662, allocations: 4.531 kB / 0.5209 GB, free: 8.062 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 (15): * Single equations (assignments): 15 * 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.264e-05/0.2663, allocations: 132.5 kB / 0.5211 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2663, allocations: 15.27 kB / 0.5211 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.2664, allocations: 18.25 kB / 0.5211 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2664, allocations: 1.5 kB / 0.5211 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2664, allocations: 6.094 kB / 0.5211 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2664, allocations: 4.75 kB / 0.5211 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.2669, allocations: 490.7 kB / 0.5216 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2669, allocations: 2.328 kB / 0.5216 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2669, allocations: 20.23 kB / 0.5216 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.267, allocations: 1.734 kB / 0.5216 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.267, allocations: 11.33 kB / 0.5216 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.267, allocations: 7.453 kB / 0.5216 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.267, allocations: 1.25 kB / 0.5216 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2672, allocations: 247.5 kB / 0.5218 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.2672, allocations: 91.61 kB / 0.5219 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.2673, allocations: 7.562 kB / 0.5219 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.2674, allocations: 10.95 kB / 0.5219 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.2674, allocations: 9.594 kB / 0.522 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2674, allocations: 10.41 kB / 0.522 GB, free: 7.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.2675, allocations: 141.2 kB / 0.5221 GB, free: 7.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2675, allocations: 3.188 kB / 0.5221 GB, free: 7.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.2678, allocations: 36.28 kB / 0.5221 GB, free: 7.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.0009027/0.2687, allocations: 0.5099 MB / 0.5226 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2689, allocations: 94.47 kB / 0.5227 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2689, allocations: 1.156 kB / 0.5227 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.269, allocations: 47.62 kB / 0.5228 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2693, allocations: 40.58 kB / 0.5228 GB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.2697, allocations: 341.8 kB / 0.5231 GB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2698, allocations: 0.7148 MB / 0.5238 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.2699, allocations: 25.67 kB / 0.5239 GB, free: 6.078 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2699, allocations: 0 / 0.5239 GB, free: 6.078 MB / 346.7 MB Notification: Performance of Templates: time 0.003699/0.2736, allocations: 2.377 MB / 0.5262 GB, free: 5.848 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches