Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 200.5 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.284/1.284, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007652/0.0007652, allocations: 104.7 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1877/0.1877, allocations: 44.84 MB / 392 MB, free: 9.285 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002333/0.0002334, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1017, allocations: 62.94 MB / 0.5153 GB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002065/0.1038, allocations: 1.431 MB / 0.5167 GB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1053, allocations: 0.9363 MB / 0.5176 GB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1054, allocations: 7.938 kB / 0.5176 GB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1057, allocations: 43.86 kB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1061, allocations: 79.62 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1064, allocations: 98.44 kB / 0.5179 GB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1066, allocations: 95.69 kB / 0.518 GB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1067, allocations: 11.98 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1901/0.2968, allocations: 34.31 kB / 0.518 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.297, allocations: 33.03 kB / 0.518 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.297, allocations: 2.719 kB / 0.518 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2972, allocations: 37.11 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.2973, allocations: 22.34 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.2973, allocations: 42.55 kB / 0.5181 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.2976, allocations: 94.61 kB / 0.5182 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2976, allocations: 0 / 0.5182 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2976, allocations: 3.25 kB / 0.5182 GB, free: 9.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2976, allocations: 0 / 0.5182 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.0005707/0.2982, allocations: 414 kB / 0.5186 GB, free: 9.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2982, allocations: 10.22 kB / 0.5186 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.2983, allocations: 13.84 kB / 0.5186 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.2985, allocations: 213.2 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2985, allocations: 4.969 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2986, allocations: 3.797 kB / 0.5189 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2987, allocations: 52.23 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2987, allocations: 1.219 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2988, allocations: 3.297 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2988, allocations: 0.9062 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.2989, allocations: 20.19 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2992, allocations: 297.8 kB / 0.5192 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2994, allocations: 57.3 kB / 0.5193 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.2994, allocations: 23.62 kB / 0.5193 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.2995, allocations: 2.734 kB / 0.5193 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.2997, allocations: 66.19 kB / 0.5194 GB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.2997, allocations: 0 / 0.5194 GB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.3002, allocations: 180.9 kB / 0.5195 GB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3003, allocations: 53.28 kB / 0.5196 GB, free: 8.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3005, allocations: 240 kB / 0.5198 GB, free: 8.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3005, allocations: 31.27 kB / 0.5198 GB, free: 8.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3006, allocations: 107.8 kB / 0.5199 GB, free: 8.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3006, allocations: 27.58 kB / 0.52 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.3006, allocations: 0 / 0.52 GB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.3007, allocations: 327.5 kB / 0.5203 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.3008, allocations: 17.97 kB / 0.5203 GB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.3008, allocations: 39.34 kB / 0.5203 GB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.3009, allocations: 27.55 kB / 0.5204 GB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3009, allocations: 0 / 0.5204 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.3011, allocations: 108.7 kB / 0.5205 GB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3011, allocations: 11.19 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3011, allocations: 1.219 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3011, allocations: 1.062 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.3012, allocations: 15.97 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3012, allocations: 0.9688 kB / 0.5205 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.3013, allocations: 10.33 kB / 0.5205 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3013, allocations: 7.641 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 8.135e-05/0.3014, allocations: 130.4 kB / 0.5206 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3014, allocations: 13.45 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.3015, allocations: 16.5 kB / 0.5207 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3015, allocations: 1.031 kB / 0.5207 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3015, allocations: 1.125 kB / 0.5207 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3015, allocations: 0.5156 kB / 0.5207 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.3019, allocations: 415.3 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3019, allocations: 1.953 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.3019, allocations: 8.609 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/0.302, allocations: 1.312 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.302, allocations: 8.375 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.302, allocations: 1 kB / 0.5211 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.302, allocations: 8.906 kB / 0.5211 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3022, allocations: 204.6 kB / 0.5213 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.3022, allocations: 91.56 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3023, allocations: 1.609 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.3023, allocations: 3.109 kB / 0.5214 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3024, allocations: 13.92 kB / 0.5214 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3024, allocations: 4.094 kB / 0.5214 GB, free: 7.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.3025, allocations: 180 kB / 0.5216 GB, free: 7.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3025, allocations: 4 kB / 0.5216 GB, free: 7.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.3028, allocations: 27.73 kB / 0.5216 GB, free: 7.312 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.0008464/0.3036, allocations: 457.7 kB / 0.522 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3038, allocations: 59.14 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3038, allocations: 0 / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.3039, allocations: 28.03 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.0003261/0.3042, allocations: 24.06 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.3047, allocations: 312.3 kB / 0.5224 GB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3048, allocations: 0.7132 MB / 0.5231 GB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3049, allocations: 20.66 kB / 0.5231 GB, free: 6.188 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3049, allocations: 4 kB / 0.5232 GB, free: 6.184 MB / 346.7 MB Notification: Performance of Templates: time 0.003679/0.3086, allocations: 2.011 MB / 0.5251 GB, free: 5.977 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches