Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009157/0.0009157, 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.273/1.273, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007108/0.0007109, allocations: 95.92 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 44.84 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002881, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09495, allocations: 62.96 MB / 0.5153 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001694/0.09668, allocations: 1.299 MB / 0.5166 GB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.09741, allocations: 0.5031 MB / 0.5171 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.09747, allocations: 4 kB / 0.5171 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.09793, allocations: 443.2 kB / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.09826, allocations: 275.4 kB / 0.5178 GB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.09859, allocations: 150.5 kB / 0.5179 GB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1803/0.2789, allocations: 130.2 kB / 0.518 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.279, allocations: 12.86 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.2792, allocations: 99.42 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.2795, allocations: 167.4 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2795, allocations: 4.062 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.2796, allocations: 20 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2797, allocations: 83.91 kB / 0.5184 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.2798, allocations: 66.2 kB / 0.5185 GB, free: 10.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.28, allocations: 180.5 kB / 0.5186 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.28, allocations: 0.5625 kB / 0.5186 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2801, allocations: 0 / 0.5186 GB, free: 10.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2801, allocations: 0 / 0.5186 GB, free: 10.21 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.0005245/0.2806, allocations: 0.59 MB / 0.5192 GB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2806, allocations: 10.03 kB / 0.5192 GB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.2807, allocations: 42.41 kB / 0.5193 GB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.2809, allocations: 278.2 kB / 0.5195 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2809, allocations: 1.594 kB / 0.5195 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.281, allocations: 6.062 kB / 0.5195 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.2811, allocations: 49.59 kB / 0.5196 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2811, allocations: 0.7812 kB / 0.5196 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2811, allocations: 1.625 kB / 0.5196 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2811, allocations: 0.9375 kB / 0.5196 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.2812, allocations: 30.5 kB / 0.5196 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.2817, allocations: 388.4 kB / 0.52 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.2817, allocations: 34.7 kB / 0.52 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.2818, allocations: 25.72 kB / 0.5201 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2818, allocations: 1.797 kB / 0.5201 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2818, allocations: 33.84 kB / 0.5201 GB, free: 9.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2818, allocations: 0 / 0.5201 GB, free: 9.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000237/0.2821, allocations: 109.3 kB / 0.5202 GB, free: 9.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.2821, allocations: 56.59 kB / 0.5202 GB, free: 8.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.283, allocations: 0.8741 MB / 0.5211 GB, free: 8.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.283, allocations: 26.41 kB / 0.5211 GB, free: 8.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2831, allocations: 219.9 kB / 0.5213 GB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.2832, allocations: 10.05 kB / 0.5213 GB, free: 8.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2832, allocations: 0 / 0.5213 GB, free: 8.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.2833, allocations: 363.1 kB / 0.5217 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.2833, allocations: 17.3 kB / 0.5217 GB, free: 8.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.2834, allocations: 11.66 kB / 0.5217 GB, free: 8.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.2834, allocations: 15.41 kB / 0.5217 GB, free: 8.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2834, allocations: 0 / 0.5217 GB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.2835, allocations: 96.34 kB / 0.5218 GB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2836, allocations: 5.812 kB / 0.5218 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2836, allocations: 4 kB / 0.5218 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.2836, allocations: 1.062 kB / 0.5218 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.2837, allocations: 9.797 kB / 0.5218 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2837, allocations: 1.844 kB / 0.5218 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.2837, allocations: 6.844 kB / 0.5219 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2837, allocations: 1.859 kB / 0.5219 GB, free: 8.324 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 (2): * Single equations (assignments): 2 * 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.0001542/0.2839, allocations: 213.8 kB / 0.5221 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.2839, allocations: 42.89 kB / 0.5221 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.2841, allocations: 121.6 kB / 0.5222 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2841, allocations: 0 / 0.5222 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2842, allocations: 0.6094 kB / 0.5222 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2842, allocations: 1.25 kB / 0.5222 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.2844, allocations: 287.3 kB / 0.5225 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2844, allocations: 0 / 0.5225 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2845, allocations: 6.797 kB / 0.5225 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2845, allocations: 4.688 kB / 0.5225 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2845, allocations: 1.062 kB / 0.5225 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2845, allocations: 0 / 0.5225 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2845, allocations: 0.5625 kB / 0.5225 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.2846, allocations: 196.1 kB / 0.5227 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2847, allocations: 118 kB / 0.5228 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2847, allocations: 4.438 kB / 0.5228 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.2848, allocations: 5.5 kB / 0.5228 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.2848, allocations: 4.656 kB / 0.5228 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2848, allocations: 1.25 kB / 0.5228 GB, free: 7.664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006172/0.2855, allocations: 0.6582 MB / 0.5235 GB, free: 7.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2855, allocations: 0 / 0.5235 GB, free: 7.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.2857, allocations: 15.22 kB / 0.5235 GB, free: 7.578 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 (2): * Single equations (assignments): 2 * 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.0006437/0.2863, allocations: 352.8 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2865, allocations: 29.8 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2865, allocations: 4.062 kB / 0.5238 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.2865, allocations: 15.36 kB / 0.5239 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2869, allocations: 34.11 kB / 0.5239 GB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2881, allocations: 0.8452 MB / 0.5247 GB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2885, allocations: 0.8245 MB / 0.5255 GB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.2885, allocations: 12.39 kB / 0.5255 GB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2885, allocations: 0 / 0.5255 GB, free: 6.328 MB / 346.7 MB Notification: Performance of Templates: time 0.006637/0.2951, allocations: 3.459 MB / 0.5289 GB, free: 5.59 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches