Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009023/0.0009024, allocations: 199.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.308/1.308, 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.0007844/0.0007844, allocations: 103 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.1948/0.1948, allocations: 44.83 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09371, allocations: 62.95 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001744/0.09548, allocations: 1.424 MB / 0.5167 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.09675, allocations: 0.9402 MB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.09683, allocations: 3.938 kB / 0.5176 GB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.09709, allocations: 79.81 kB / 0.5177 GB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.09732, allocations: 95.72 kB / 0.5178 GB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.09756, allocations: 94 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.0977, allocations: 99.69 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.09778, allocations: 7.984 kB / 0.518 GB, free: 4 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1619/0.2596, allocations: 42.95 kB / 0.518 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2598, allocations: 51.98 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2598, allocations: 1.938 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.26, allocations: 41.33 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.26, allocations: 24.81 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.2601, allocations: 42.98 kB / 0.5182 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2602, allocations: 90.33 kB / 0.5183 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2603, allocations: 0.5 kB / 0.5183 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2603, allocations: 0 / 0.5183 GB, free: 9.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2603, allocations: 0.5625 kB / 0.5183 GB, free: 9.812 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.0004599/0.2607, allocations: 414.5 kB / 0.5187 GB, free: 9.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2608, allocations: 10.16 kB / 0.5187 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2608, allocations: 8.438 kB / 0.5187 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.261, allocations: 214.5 kB / 0.5189 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.261, allocations: 2.281 kB / 0.5189 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.2611, allocations: 6.031 kB / 0.5189 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2612, allocations: 56.48 kB / 0.519 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2613, allocations: 0.7031 kB / 0.519 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2613, allocations: 3.016 kB / 0.519 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2613, allocations: 1.75 kB / 0.519 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.2614, allocations: 20.44 kB / 0.519 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2617, allocations: 289.5 kB / 0.5193 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2618, allocations: 62.3 kB / 0.5193 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.2619, allocations: 19.36 kB / 0.5193 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2619, allocations: 3.062 kB / 0.5193 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.2621, allocations: 66.88 kB / 0.5194 GB, free: 8.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2621, allocations: 0 / 0.5194 GB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005085/0.2626, allocations: 175.7 kB / 0.5196 GB, free: 8.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.2626, allocations: 58.42 kB / 0.5196 GB, free: 8.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2628, allocations: 223.7 kB / 0.5198 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.2629, allocations: 31.05 kB / 0.5199 GB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.2629, allocations: 106.6 kB / 0.52 GB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2629, allocations: 30.02 kB / 0.52 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.263, allocations: 3.625 kB / 0.52 GB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.263, allocations: 327 kB / 0.5203 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.2631, allocations: 16.78 kB / 0.5203 GB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.2631, allocations: 40.83 kB / 0.5204 GB, free: 8.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.2632, allocations: 21.81 kB / 0.5204 GB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2632, allocations: 0 / 0.5204 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.2634, allocations: 108.2 kB / 0.5205 GB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2634, allocations: 9.844 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2634, allocations: 0 / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2634, allocations: 1.469 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.2635, allocations: 15.11 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2635, allocations: 6 kB / 0.5205 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.2636, allocations: 3.266 kB / 0.5205 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2636, allocations: 6.516 kB / 0.5205 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 7.494e-05/0.2637, allocations: 135.2 kB / 0.5207 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.2637, allocations: 14.75 kB / 0.5207 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.2638, allocations: 20.84 kB / 0.5207 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2638, allocations: 1.734 kB / 0.5207 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2638, allocations: 1.156 kB / 0.5207 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2638, allocations: 4.703 kB / 0.5207 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.2641, allocations: 396.8 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2641, allocations: 3.844 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.2642, allocations: 15.47 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2642, allocations: 1.578 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2642, allocations: 1.766 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2642, allocations: 2.969 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2642, allocations: 7.094 kB / 0.5211 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2644, allocations: 210.1 kB / 0.5213 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.2644, allocations: 86.95 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.2645, allocations: 6.359 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.2645, allocations: 4.141 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.2646, allocations: 8.484 kB / 0.5214 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2646, allocations: 4.031 kB / 0.5214 GB, free: 7.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2647, allocations: 171.1 kB / 0.5216 GB, free: 7.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2647, allocations: 0 / 0.5216 GB, free: 7.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.265, allocations: 26.44 kB / 0.5216 GB, free: 7.316 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.0008562/0.2658, allocations: 464.1 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.266, allocations: 61.72 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.266, allocations: 0 / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.2661, allocations: 24.22 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2664, allocations: 28.02 kB / 0.5222 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.2668, allocations: 302.7 kB / 0.5225 GB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2669, allocations: 0.7096 MB / 0.5231 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.267, allocations: 23.75 kB / 0.5232 GB, free: 6.184 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.267, allocations: 1.062 kB / 0.5232 GB, free: 6.184 MB / 346.7 MB Notification: Performance of Templates: time 0.003589/0.2706, allocations: 1.982 MB / 0.5251 GB, free: 5.984 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches