Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 201.2 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.269/1.269, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007547/0.0007546, allocations: 97.66 kB / 295.1 MB, free: 4.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 44.83 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08598, allocations: 62.96 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001509/0.08752, allocations: 1.51 MB / 0.5168 GB, free: 3.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.08921, allocations: 1.601 MB / 0.5184 GB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.08932, allocations: 0 / 0.5184 GB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.08958, allocations: 51.73 kB / 0.5184 GB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.08986, allocations: 107.6 kB / 0.5185 GB, free: 1.812 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.09021, allocations: 155.5 kB / 0.5187 GB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.0904, allocations: 179.4 kB / 0.5188 GB, free: 1.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.09045, allocations: 13.67 kB / 0.5189 GB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.09056, allocations: 75.62 kB / 0.5189 GB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.09071, allocations: 75.62 kB / 0.519 GB, free: 1.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.09074, allocations: 4 kB / 0.519 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.09091, allocations: 91.94 kB / 0.5191 GB, free: 1.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.09095, allocations: 27.84 kB / 0.5191 GB, free: 1.207 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.09099, allocations: 45.64 kB / 0.5192 GB, free: 1.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.09119, allocations: 167.9 kB / 0.5193 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.0912, allocations: 8 kB / 0.5193 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0912, allocations: 0 / 0.5193 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.09121, allocations: 0 / 0.5193 GB, free: 0.9844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000475/0.09169, allocations: 474.5 kB / 0.5198 GB, free: 484 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.09173, allocations: 8.031 kB / 0.5198 GB, free: 476 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.09178, allocations: 15.81 kB / 0.5198 GB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.092, allocations: 254.6 kB / 0.52 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.09203, allocations: 8 kB / 0.5201 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.09204, allocations: 0 / 0.5201 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.09221, allocations: 105 kB / 0.5202 GB, free: 32 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.09223, allocations: 0 / 0.5202 GB, free: 32 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.09224, allocations: 0 / 0.5202 GB, free: 32 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.09225, allocations: 4 kB / 0.5202 GB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.09234, allocations: 27.97 kB / 0.5202 GB, free: 0 / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.09259, allocations: 230.5 kB / 0.5204 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.09285, allocations: 97.23 kB / 0.5205 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.09294, allocations: 41.7 kB / 0.5205 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.09297, allocations: 4 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.09318, allocations: 109 kB / 0.5206 GB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.09319, allocations: 0 / 0.5206 GB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003919/0.09359, allocations: 169.4 kB / 0.5208 GB, free: 15.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.09367, allocations: 132.5 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.09391, allocations: 240.1 kB / 0.5212 GB, free: 14.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.09393, allocations: 29.7 kB / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.094, allocations: 120.1 kB / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.09404, allocations: 27.64 kB / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.09406, allocations: 3.938 kB / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09416, allocations: 330.8 kB / 0.5216 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.09425, allocations: 31.98 kB / 0.5217 GB, free: 14.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.09436, allocations: 77 kB / 0.5218 GB, free: 14.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.09446, allocations: 31.95 kB / 0.5218 GB, free: 14.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.09447, allocations: 4 kB / 0.5218 GB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002456/0.09472, allocations: 137.4 kB / 0.5219 GB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.09475, allocations: 8 kB / 0.5219 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.09476, allocations: 0 / 0.5219 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.09477, allocations: 0 / 0.5219 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.09487, allocations: 27.92 kB / 0.522 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.09489, allocations: 0 / 0.522 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.09497, allocations: 11.91 kB / 0.522 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.09499, allocations: 4 kB / 0.522 GB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 0.000112/0.09511, allocations: 146.3 kB / 0.5221 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.09515, allocations: 23.75 kB / 0.5221 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.09519, allocations: 16.98 kB / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.0952, allocations: 4 kB / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.09521, allocations: 0.625 kB / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.09522, allocations: 0 / 0.5221 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.09539, allocations: 225.5 kB / 0.5224 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0954, allocations: 3.953 kB / 0.5224 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.09544, allocations: 11.98 kB / 0.5224 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.09545, allocations: 4 kB / 0.5224 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.09547, allocations: 4 kB / 0.5224 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.09548, allocations: 4 kB / 0.5224 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.09548, allocations: 0 / 0.5224 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.09575, allocations: 165.6 kB / 0.5225 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.09583, allocations: 108.8 kB / 0.5227 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.09587, allocations: 4 kB / 0.5227 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.09594, allocations: 8 kB / 0.5227 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.09599, allocations: 11.98 kB / 0.5227 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.09601, allocations: 4 kB / 0.5227 GB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.09618, allocations: 181.8 kB / 0.5229 GB, free: 12.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09618, allocations: 0 / 0.5229 GB, free: 12.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.09644, allocations: 48 kB / 0.5229 GB, free: 12.93 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009289/0.09737, allocations: 0.4996 MB / 0.5234 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.09762, allocations: 83.89 kB / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.09763, allocations: 0 / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.09773, allocations: 35.98 kB / 0.5235 GB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.09806, allocations: 60.17 kB / 0.5236 GB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.09858, allocations: 328.8 kB / 0.5239 GB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.09885, allocations: 0.7206 MB / 0.5246 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.09892, allocations: 27.42 kB / 0.5246 GB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09893, allocations: 0 / 0.5246 GB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005385/0.1043, allocations: 3.16 MB / 0.5277 GB, free: 8.141 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches