Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 202.1 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.236/1.236, allocations: 226.5 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007695/0.0007695, allocations: 93.92 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.179/0.179, allocations: 44.84 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002513, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09091, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002025/0.09297, allocations: 1.904 MB / 0.5172 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.173/0.266, allocations: 1.265 MB / 0.5184 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.2662, allocations: 6.781 kB / 0.5184 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.2667, allocations: 112.8 kB / 0.5185 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.2671, allocations: 196.7 kB / 0.5187 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.2679, allocations: 279.1 kB / 0.519 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.2683, allocations: 392.5 kB / 0.5194 GB, free: 9.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2685, allocations: 60.52 kB / 0.5194 GB, free: 9.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.2688, allocations: 218.5 kB / 0.5196 GB, free: 9.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.269, allocations: 146.8 kB / 0.5198 GB, free: 9.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.269, allocations: 6.844 kB / 0.5198 GB, free: 9.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2692, allocations: 61.2 kB / 0.5198 GB, free: 9.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2693, allocations: 115.9 kB / 0.5199 GB, free: 9.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.2694, allocations: 94.7 kB / 0.52 GB, free: 9.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2698, allocations: 309.8 kB / 0.5203 GB, free: 9.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2698, allocations: 0 / 0.5203 GB, free: 9.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2698, allocations: 0 / 0.5203 GB, free: 9.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2698, allocations: 1.094 kB / 0.5203 GB, free: 9.5 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009622/0.2708, allocations: 0.7569 MB / 0.5211 GB, free: 8.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2708, allocations: 10.62 kB / 0.5211 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.2709, allocations: 63.12 kB / 0.5211 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.2714, allocations: 399 kB / 0.5215 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2715, allocations: 9.672 kB / 0.5215 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.2715, allocations: 17.11 kB / 0.5216 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.2719, allocations: 200.5 kB / 0.5217 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2719, allocations: 6.672 kB / 0.5217 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.2719, allocations: 6.688 kB / 0.5218 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.272, allocations: 4.312 kB / 0.5218 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.2722, allocations: 92.48 kB / 0.5218 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.273, allocations: 0.8025 MB / 0.5226 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.2736, allocations: 250.1 kB / 0.5229 GB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.2738, allocations: 92.11 kB / 0.523 GB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2738, allocations: 6.703 kB / 0.523 GB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.2742, allocations: 195.8 kB / 0.5232 GB, free: 7.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.2742, allocations: 4 kB / 0.5232 GB, free: 7.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.002198/0.2764, allocations: 1.099 MB / 0.5242 GB, free: 7.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2764, allocations: 143.2 kB / 0.5244 GB, free: 7.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.2774, allocations: 0.8065 MB / 0.5252 GB, free: 7.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2774, allocations: 34.61 kB / 0.5252 GB, free: 7.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2775, allocations: 237.8 kB / 0.5254 GB, free: 6.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.2776, allocations: 141.6 kB / 0.5255 GB, free: 6.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.2777, allocations: 9.406 kB / 0.5256 GB, free: 6.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2778, allocations: 377.4 kB / 0.5259 GB, free: 6.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.278, allocations: 108.3 kB / 0.526 GB, free: 6.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2783, allocations: 184.6 kB / 0.5262 GB, free: 6.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2785, allocations: 132.2 kB / 0.5263 GB, free: 6.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2785, allocations: 5.156 kB / 0.5263 GB, free: 6.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006693/0.2792, allocations: 428.1 kB / 0.5267 GB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2792, allocations: 8.656 kB / 0.5267 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2792, allocations: 2.062 kB / 0.5267 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2792, allocations: 4.031 kB / 0.5267 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.2795, allocations: 91.48 kB / 0.5268 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2795, allocations: 4.922 kB / 0.5268 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2797, allocations: 25.48 kB / 0.5269 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.2797, allocations: 21.44 kB / 0.5269 GB, free: 5.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002181/0.2799, allocations: 233.2 kB / 0.5271 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.28, allocations: 66.06 kB / 0.5272 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.2802, allocations: 80.34 kB / 0.5272 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2802, allocations: 5.688 kB / 0.5273 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2802, allocations: 5.031 kB / 0.5273 GB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2802, allocations: 3.344 kB / 0.5273 GB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2817, allocations: 1.308 MB / 0.5285 GB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2817, allocations: 3.156 kB / 0.5285 GB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2819, allocations: 61.95 kB / 0.5286 GB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2819, allocations: 4.625 kB / 0.5286 GB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2819, allocations: 16.14 kB / 0.5286 GB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.282, allocations: 4.688 kB / 0.5286 GB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.282, allocations: 17.3 kB / 0.5286 GB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.2826, allocations: 0.7723 MB / 0.5294 GB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2828, allocations: 193 kB / 0.5296 GB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.2829, allocations: 16.67 kB / 0.5296 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.2832, allocations: 22.16 kB / 0.5296 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.2832, allocations: 41.88 kB / 0.5297 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2833, allocations: 23.28 kB / 0.5297 GB, free: 4.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005879/0.2839, allocations: 0.5803 MB / 0.5302 GB, free: 3.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2839, allocations: 0 / 0.5302 GB, free: 3.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.2844, allocations: 89.88 kB / 0.5303 GB, free: 3.863 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001033/0.2854, allocations: 0.5262 MB / 0.5308 GB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.286, allocations: 312.1 kB / 0.5311 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.286, allocations: 0 / 0.5311 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.2863, allocations: 170.6 kB / 0.5313 GB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.2872, allocations: 120.5 kB / 0.5314 GB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2885, allocations: 1.202 MB / 0.5326 GB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.2889, allocations: 0.8858 MB / 0.5335 GB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.289, allocations: 58.02 kB / 0.5335 GB, free: 1.957 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.289, allocations: 0.75 kB / 0.5335 GB, free: 1.957 MB / 346.7 MB Notification: Performance of Templates: time 0.009389/0.2984, allocations: 6.405 MB / 0.5398 GB, free: 124 kB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches