Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009207/0.0009206, 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.263/1.263, allocations: 226.6 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.0007249/0.0007249, allocations: 93.25 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.1912/0.1912, allocations: 44.84 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 12 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08661, allocations: 62.96 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001755/0.0884, allocations: 1.424 MB / 0.5167 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.08963, allocations: 0.9402 MB / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.0897, allocations: 3.938 kB / 0.5176 GB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.08993, allocations: 35.89 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.09014, allocations: 75.67 kB / 0.5178 GB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.09038, allocations: 98.58 kB / 0.5178 GB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.09051, allocations: 91.62 kB / 0.5179 GB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.09059, allocations: 12 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.09067, allocations: 43.77 kB / 0.518 GB, free: 44 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.09073, allocations: 23.86 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.09075, allocations: 4 kB / 0.518 GB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.168/0.2588, allocations: 35.88 kB / 0.518 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2589, allocations: 18.19 kB / 0.5181 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.2589, allocations: 36.5 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2592, allocations: 89.94 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2592, allocations: 0.8125 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2592, allocations: 3.094 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2592, allocations: 0.7188 kB / 0.5182 GB, free: 9.824 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.0004699/0.2597, allocations: 393.9 kB / 0.5186 GB, free: 9.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2597, allocations: 9.094 kB / 0.5186 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2598, allocations: 19.38 kB / 0.5186 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.26, allocations: 208.1 kB / 0.5188 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.26, allocations: 4.781 kB / 0.5188 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.26, allocations: 6.781 kB / 0.5188 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2602, allocations: 56.31 kB / 0.5189 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2602, allocations: 0 / 0.5189 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2602, allocations: 1.75 kB / 0.5189 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2602, allocations: 1.406 kB / 0.5189 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.2603, allocations: 19.16 kB / 0.5189 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2606, allocations: 291.9 kB / 0.5192 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.2608, allocations: 57.39 kB / 0.5192 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.2609, allocations: 24.17 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2609, allocations: 1.594 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.2611, allocations: 69.16 kB / 0.5193 GB, free: 8.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.2611, allocations: 5.094 kB / 0.5193 GB, free: 8.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000557/0.2617, allocations: 169.8 kB / 0.5195 GB, free: 8.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.2617, allocations: 56.73 kB / 0.5195 GB, free: 8.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2619, allocations: 200.6 kB / 0.5197 GB, free: 8.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2619, allocations: 28.48 kB / 0.5197 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.262, allocations: 100.3 kB / 0.5198 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.262, allocations: 29.64 kB / 0.5199 GB, free: 8.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.262, allocations: 1.25 kB / 0.5199 GB, free: 8.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.2621, allocations: 328 kB / 0.5202 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.2622, allocations: 20.33 kB / 0.5202 GB, free: 8.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.2622, allocations: 41.5 kB / 0.5202 GB, free: 8.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.2623, allocations: 21.77 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2623, allocations: 0 / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.2625, allocations: 103.3 kB / 0.5204 GB, free: 8.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2625, allocations: 6.969 kB / 0.5204 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2625, allocations: 4.594 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2625, allocations: 1.062 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.2626, allocations: 20.5 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2626, allocations: 0.9375 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.2627, allocations: 5.094 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2627, allocations: 7.359 kB / 0.5204 GB, free: 8.125 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.578e-05/0.2628, allocations: 124.4 kB / 0.5205 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.2628, allocations: 10.08 kB / 0.5205 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.2629, allocations: 24.3 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2629, allocations: 0.625 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2629, allocations: 2.969 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2629, allocations: 0.7969 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2633, allocations: 396.3 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2633, allocations: 1.766 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.2634, allocations: 13.27 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2634, allocations: 1.344 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.2634, allocations: 5.688 kB / 0.521 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2634, allocations: 1.156 kB / 0.521 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2634, allocations: 5.969 kB / 0.521 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2636, allocations: 202.2 kB / 0.5212 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2636, allocations: 87.42 kB / 0.5212 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2637, allocations: 1.703 kB / 0.5212 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.2637, allocations: 12.78 kB / 0.5213 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2638, allocations: 13.12 kB / 0.5213 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2638, allocations: 4.828 kB / 0.5213 GB, free: 7.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.2639, allocations: 146.6 kB / 0.5214 GB, free: 7.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2639, allocations: 0 / 0.5214 GB, free: 7.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.2642, allocations: 26.78 kB / 0.5214 GB, free: 7.363 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.0008438/0.265, allocations: 458.6 kB / 0.5219 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.2652, allocations: 64.55 kB / 0.5219 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2652, allocations: 0 / 0.5219 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.2653, allocations: 27.72 kB / 0.522 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2656, allocations: 26.2 kB / 0.522 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.266, allocations: 277.3 kB / 0.5222 GB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2662, allocations: 0.7122 MB / 0.5229 GB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.2662, allocations: 19.41 kB / 0.523 GB, free: 6.238 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2662, allocations: 0 / 0.523 GB, free: 6.238 MB / 346.7 MB Notification: Performance of Templates: time 0.003619/0.2698, allocations: 1.934 MB / 0.5249 GB, free: 6.043 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches