Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001098, allocations: 200.1 kB / 15.8 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, 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.0007858/0.0007859, allocations: 102.4 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.1778/0.1778, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002558, allocations: 15.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0899, allocations: 62.97 MB / 0.5153 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001983/0.09191, allocations: 1.424 MB / 0.5167 GB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1838/0.2758, allocations: 1.507 MB / 0.5182 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2759, allocations: 1.562 kB / 0.5182 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.2762, allocations: 37.58 kB / 0.5182 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.2765, allocations: 74.19 kB / 0.5183 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2768, allocations: 92.47 kB / 0.5184 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2769, allocations: 92.77 kB / 0.5185 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.277, allocations: 16.53 kB / 0.5185 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.2771, allocations: 41.05 kB / 0.5185 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2772, allocations: 36.78 kB / 0.5186 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2772, allocations: 2.75 kB / 0.5186 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2774, allocations: 92 kB / 0.5187 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.2775, allocations: 19.47 kB / 0.5187 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.2775, allocations: 33.02 kB / 0.5187 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2777, allocations: 125.4 kB / 0.5188 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2777, allocations: 0 / 0.5188 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2777, allocations: 3.5 kB / 0.5188 GB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2777, allocations: 0 / 0.5188 GB, free: 9.816 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.0004374/0.2782, allocations: 413 kB / 0.5192 GB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2782, allocations: 9.625 kB / 0.5192 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.2783, allocations: 9.25 kB / 0.5193 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2785, allocations: 211.6 kB / 0.5195 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2785, allocations: 3.453 kB / 0.5195 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2785, allocations: 7.594 kB / 0.5195 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2787, allocations: 71.48 kB / 0.5195 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2787, allocations: 1.781 kB / 0.5195 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2787, allocations: 3.938 kB / 0.5195 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2787, allocations: 0.875 kB / 0.5195 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.2788, allocations: 22.48 kB / 0.5196 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.2791, allocations: 288.9 kB / 0.5198 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2792, allocations: 58.2 kB / 0.5199 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.2793, allocations: 20.67 kB / 0.5199 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2793, allocations: 3.734 kB / 0.5199 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2795, allocations: 66.91 kB / 0.52 GB, free: 8.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.2795, allocations: 1.062 kB / 0.52 GB, free: 8.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000486/0.28, allocations: 168.2 kB / 0.5201 GB, free: 8.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.28, allocations: 83.33 kB / 0.5202 GB, free: 8.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2802, allocations: 168.2 kB / 0.5204 GB, free: 8.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2802, allocations: 27.33 kB / 0.5204 GB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2802, allocations: 99.75 kB / 0.5205 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2802, allocations: 27.17 kB / 0.5205 GB, free: 8.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2803, allocations: 3.938 kB / 0.5205 GB, free: 8.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.2803, allocations: 325.1 kB / 0.5208 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.2804, allocations: 18.84 kB / 0.5209 GB, free: 8.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.2804, allocations: 47.2 kB / 0.5209 GB, free: 8.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.2805, allocations: 21.73 kB / 0.5209 GB, free: 8.066 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2805, allocations: 0 / 0.5209 GB, free: 8.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.2807, allocations: 102.5 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2807, allocations: 5.062 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2807, allocations: 1.766 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2807, allocations: 0.9688 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.2808, allocations: 19.53 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2808, allocations: 0 / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.2809, allocations: 4.594 kB / 0.5211 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2809, allocations: 14.39 kB / 0.5211 GB, free: 8.02 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 6.374e-05/0.281, allocations: 117.9 kB / 0.5212 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.281, allocations: 17.34 kB / 0.5212 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.281, allocations: 14.06 kB / 0.5212 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.281, allocations: 2.359 kB / 0.5212 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.281, allocations: 1.734 kB / 0.5212 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.281, allocations: 0.6562 kB / 0.5212 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.2814, allocations: 398.7 kB / 0.5216 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2814, allocations: 0.7188 kB / 0.5216 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.2815, allocations: 13.23 kB / 0.5216 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2815, allocations: 4.688 kB / 0.5216 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2815, allocations: 3.047 kB / 0.5216 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2815, allocations: 5.516 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2815, allocations: 4.953 kB / 0.5216 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2817, allocations: 196.2 kB / 0.5218 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2817, allocations: 91.39 kB / 0.5219 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.2818, allocations: 7.047 kB / 0.5219 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.2818, allocations: 3.703 kB / 0.5219 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2819, allocations: 16.56 kB / 0.5219 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2819, allocations: 5.031 kB / 0.5219 GB, free: 7.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.282, allocations: 123.5 kB / 0.522 GB, free: 7.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.282, allocations: 0 / 0.522 GB, free: 7.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.2823, allocations: 53.28 kB / 0.5221 GB, free: 7.23 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.0009783/0.2832, allocations: 0.5479 MB / 0.5226 GB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2834, allocations: 55.98 kB / 0.5227 GB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2834, allocations: 3.938 kB / 0.5227 GB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.2835, allocations: 28.31 kB / 0.5227 GB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2838, allocations: 29.56 kB / 0.5227 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.2842, allocations: 236.4 kB / 0.523 GB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.2843, allocations: 0.7014 MB / 0.5237 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2843, allocations: 28.45 kB / 0.5237 GB, free: 6.074 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2843, allocations: 1.344 kB / 0.5237 GB, free: 6.074 MB / 346.7 MB Notification: Performance of Templates: time 0.004347/0.2887, allocations: 2.395 MB / 0.526 GB, free: 5.812 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches