Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 202.8 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.268/1.268, allocations: 226.6 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.0008318/0.0008319, allocations: 101.4 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1825/0.1825, allocations: 44.83 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 12 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08341, allocations: 62.96 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001665/0.08511, allocations: 1.382 MB / 0.5167 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.08584, allocations: 0.5187 MB / 0.5172 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.08589, allocations: 4 kB / 0.5172 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.08604, allocations: 23.91 kB / 0.5172 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.08623, allocations: 63.75 kB / 0.5173 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.0865, allocations: 118.3 kB / 0.5174 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.08662, allocations: 75.7 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.0867, allocations: 23.97 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.08676, allocations: 27.86 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.08682, allocations: 31.84 kB / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.08684, allocations: 4 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.08698, allocations: 83.88 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.08702, allocations: 27.91 kB / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.08706, allocations: 29.7 kB / 0.5177 GB, free: 352 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.08722, allocations: 115.8 kB / 0.5178 GB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08723, allocations: 4 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08724, allocations: 0 / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.08724, allocations: 0 / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.157/0.2442, allocations: 431 kB / 0.5182 GB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2443, allocations: 9.125 kB / 0.5182 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.2443, allocations: 11.88 kB / 0.5182 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2445, allocations: 200.3 kB / 0.5184 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2445, allocations: 5.281 kB / 0.5184 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2445, allocations: 4.938 kB / 0.5184 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2448, allocations: 99.08 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2449, allocations: 1.969 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2449, allocations: 1.125 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2449, allocations: 4.688 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.2452, allocations: 92.42 kB / 0.5186 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.2456, allocations: 312.2 kB / 0.5189 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.2458, allocations: 81.98 kB / 0.519 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.246, allocations: 55.08 kB / 0.519 GB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2461, allocations: 5.938 kB / 0.519 GB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.2461, allocations: 40.3 kB / 0.5191 GB, free: 11.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2461, allocations: 1.062 kB / 0.5191 GB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001669/0.2478, allocations: 474.7 kB / 0.5195 GB, free: 11.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2478, allocations: 83.67 kB / 0.5196 GB, free: 10.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2479, allocations: 158.9 kB / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.248, allocations: 27.58 kB / 0.5198 GB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.248, allocations: 97.97 kB / 0.5199 GB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.248, allocations: 29.25 kB / 0.5199 GB, free: 10.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.248, allocations: 1.125 kB / 0.5199 GB, free: 10.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.2481, allocations: 322.5 kB / 0.5202 GB, free: 10.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2484, allocations: 95.45 kB / 0.5203 GB, free: 10.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.2487, allocations: 108.6 kB / 0.5204 GB, free: 10.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.249, allocations: 97.8 kB / 0.5205 GB, free: 10.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.249, allocations: 0 / 0.5205 GB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000644/0.2497, allocations: 233.5 kB / 0.5207 GB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2497, allocations: 9.156 kB / 0.5207 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2497, allocations: 0.6562 kB / 0.5207 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2497, allocations: 0.9062 kB / 0.5207 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.25, allocations: 50.31 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.25, allocations: 1.938 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2502, allocations: 42.45 kB / 0.5208 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2502, allocations: 2.812 kB / 0.5208 GB, free: 10.29 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 (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.982e-05/0.2503, allocations: 121.1 kB / 0.521 GB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.2503, allocations: 13.77 kB / 0.521 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/0.251, allocations: 251 kB / 0.5212 GB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.251, allocations: 5.719 kB / 0.5212 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.251, allocations: 0 / 0.5212 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.251, allocations: 0.6562 kB / 0.5212 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008883/0.2519, allocations: 0.5291 MB / 0.5217 GB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2519, allocations: 0.6094 kB / 0.5217 GB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.2522, allocations: 54.09 kB / 0.5218 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2522, allocations: 0.9688 kB / 0.5218 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2522, allocations: 3.656 kB / 0.5218 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2522, allocations: 3.953 kB / 0.5218 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2522, allocations: 0.5625 kB / 0.5218 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.2529, allocations: 330.8 kB / 0.5221 GB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.2529, allocations: 94.5 kB / 0.5222 GB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2529, allocations: 3.203 kB / 0.5222 GB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.2531, allocations: 37.52 kB / 0.5222 GB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.2532, allocations: 19 kB / 0.5223 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.2532, allocations: 2.906 kB / 0.5223 GB, free: 9.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.2533, allocations: 123.1 kB / 0.5224 GB, free: 9.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2533, allocations: 0 / 0.5224 GB, free: 9.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.2536, allocations: 53.8 kB / 0.5224 GB, free: 9.445 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 (9): * Single equations (assignments): 9 * 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.000865/0.2545, allocations: 491.9 kB / 0.5229 GB, free: 9.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.2552, allocations: 205.1 kB / 0.5231 GB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2552, allocations: 1.469 kB / 0.5231 GB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2555, allocations: 102.5 kB / 0.5232 GB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2558, allocations: 17.05 kB / 0.5232 GB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.2562, allocations: 251 kB / 0.5234 GB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2563, allocations: 0.6963 MB / 0.5241 GB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2564, allocations: 19.08 kB / 0.5241 GB, free: 8.305 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2564, allocations: 0 / 0.5241 GB, free: 8.305 MB / 346.7 MB Notification: Performance of Templates: time 0.00422/0.2606, allocations: 2.49 MB / 0.5266 GB, free: 8.027 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches