Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 200 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.265/1.265, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007407/0.0007407, allocations: 100.4 kB / 295.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 44.84 MB / 392 MB, free: 9.285 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.0002241, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08785, allocations: 62.95 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001744/0.08963, allocations: 1.291 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.0904, allocations: 483.3 kB / 0.517 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.09047, allocations: 0 / 0.517 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.09066, allocations: 23.91 kB / 0.5171 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.09091, allocations: 63.7 kB / 0.5171 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.09115, allocations: 78.72 kB / 0.5172 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.09127, allocations: 51.84 kB / 0.5172 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.09137, allocations: 19.97 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.09142, allocations: 19.88 kB / 0.5173 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.09148, allocations: 19.91 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.0915, allocations: 3.938 kB / 0.5173 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.09158, allocations: 31.92 kB / 0.5173 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.09162, allocations: 8 kB / 0.5173 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.09165, allocations: 37.64 kB / 0.5174 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.09176, allocations: 51.91 kB / 0.5174 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.09177, allocations: 0 / 0.5174 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09178, allocations: 4 kB / 0.5174 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.09179, allocations: 4 kB / 0.5174 GB, free: 0.5547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000397/0.09219, allocations: 379.4 kB / 0.5178 GB, free: 140 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.09223, allocations: 8.031 kB / 0.5178 GB, free: 132 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.09227, allocations: 7.906 kB / 0.5178 GB, free: 124 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1795/0.2717, allocations: 191.6 kB / 0.518 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2718, allocations: 1.938 kB / 0.518 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2718, allocations: 6.297 kB / 0.518 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.272, allocations: 53.53 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.272, allocations: 1.984 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.272, allocations: 0.5 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2721, allocations: 1.312 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2722, allocations: 25.58 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.2725, allocations: 279.1 kB / 0.5184 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.2727, allocations: 49.27 kB / 0.5184 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.2728, allocations: 17.8 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2728, allocations: 1.156 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2728, allocations: 32.91 kB / 0.5185 GB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.2728, allocations: 1.031 kB / 0.5185 GB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005815/0.2734, allocations: 160.3 kB / 0.5186 GB, free: 11.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2735, allocations: 52.97 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.2736, allocations: 168 kB / 0.5188 GB, free: 11.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.2737, allocations: 26.58 kB / 0.5188 GB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.2737, allocations: 95.36 kB / 0.5189 GB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2737, allocations: 20.38 kB / 0.519 GB, free: 11.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.2737, allocations: 0.8125 kB / 0.519 GB, free: 11.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.2738, allocations: 323.9 kB / 0.5193 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.2739, allocations: 25.61 kB / 0.5193 GB, free: 10.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.2739, allocations: 24.22 kB / 0.5193 GB, free: 10.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.683e-05/0.274, allocations: 23.25 kB / 0.5193 GB, free: 10.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.274, allocations: 1.703 kB / 0.5193 GB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.2742, allocations: 95.06 kB / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2743, allocations: 5.219 kB / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2743, allocations: 0 / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2743, allocations: 1.703 kB / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.2744, allocations: 13.27 kB / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2744, allocations: 2.891 kB / 0.5194 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.2744, allocations: 11.36 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2744, allocations: 5.516 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.045e-05/0.2745, allocations: 121.3 kB / 0.5196 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2745, allocations: 8.703 kB / 0.5196 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.2748, allocations: 100.2 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2748, allocations: 1.188 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2748, allocations: 0 / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2748, allocations: 1.969 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.2752, allocations: 359.9 kB / 0.52 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2752, allocations: 2.188 kB / 0.52 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.2753, allocations: 17.73 kB / 0.52 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2753, allocations: 1.562 kB / 0.52 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2753, allocations: 2.875 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2753, allocations: 0 / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2753, allocations: 2.219 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2755, allocations: 192.6 kB / 0.5202 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.2755, allocations: 87.2 kB / 0.5203 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2756, allocations: 1.688 kB / 0.5203 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.2756, allocations: 10.44 kB / 0.5203 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2757, allocations: 4.188 kB / 0.5203 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2757, allocations: 2.375 kB / 0.5203 GB, free: 9.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.2758, allocations: 129.8 kB / 0.5205 GB, free: 9.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2758, allocations: 0 / 0.5205 GB, free: 9.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.276, allocations: 18.86 kB / 0.5205 GB, free: 9.891 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007194/0.2767, allocations: 402.8 kB / 0.5209 GB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2769, allocations: 58.45 kB / 0.5209 GB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2769, allocations: 0 / 0.5209 GB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.277, allocations: 33.39 kB / 0.521 GB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2773, allocations: 12.23 kB / 0.521 GB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.2776, allocations: 219.4 kB / 0.5212 GB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2777, allocations: 0.6968 MB / 0.5219 GB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.2778, allocations: 14.16 kB / 0.5219 GB, free: 8.801 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2778, allocations: 0 / 0.5219 GB, free: 8.801 MB / 346.7 MB Notification: Performance of Templates: time 0.002873/0.2807, allocations: 1.432 MB / 0.5233 GB, free: 8.652 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches