Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001453, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 72.09 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4665, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002931/0.4694, allocations: 1.681 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.4704, allocations: 0.5569 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.4705, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.4711, allocations: 459.9 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.4716, allocations: 288.1 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.4719, allocations: 135.5 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.4722, allocations: 171.2 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4723, allocations: 21.52 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4724, allocations: 114.2 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.4727, allocations: 211.3 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.4727, allocations: 6.969 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.4729, allocations: 52.5 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.473, allocations: 86.47 kB / 0.5347 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4731, allocations: 100.1 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.4735, allocations: 273.9 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4735, allocations: 4 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4735, allocations: 0 / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.4735, allocations: 1 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006856/0.4742, allocations: 0.6664 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.4742, allocations: 8.781 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.4743, allocations: 44.09 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4745, allocations: 298.9 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.4745, allocations: 1.469 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.4746, allocations: 7.531 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4747, allocations: 68.98 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4747, allocations: 0 / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.4747, allocations: 1 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4747, allocations: 1.156 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.4748, allocations: 27.97 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.4753, allocations: 402.6 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4754, allocations: 46.53 kB / 0.5366 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.4755, allocations: 16.86 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4755, allocations: 1.188 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4755, allocations: 39.64 kB / 0.5366 GB, free: 9.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.4755, allocations: 0 / 0.5366 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008936/0.4764, allocations: 316.9 kB / 0.5369 GB, free: 9.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4765, allocations: 56.56 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.4774, allocations: 0.8678 MB / 0.5378 GB, free: 8.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4774, allocations: 26.98 kB / 0.5378 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.4776, allocations: 224.9 kB / 0.5381 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4777, allocations: 26.77 kB / 0.5381 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.4777, allocations: 23.84 kB / 0.5381 GB, free: 8.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4779, allocations: 364.4 kB / 0.5385 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.478, allocations: 22.39 kB / 0.5385 GB, free: 8.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.4781, allocations: 22.2 kB / 0.5385 GB, free: 8.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4782, allocations: 68.75 kB / 0.5386 GB, free: 8.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4782, allocations: 1.188 kB / 0.5386 GB, free: 8.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002612/0.4785, allocations: 138.3 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4785, allocations: 7.406 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4785, allocations: 1.219 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4786, allocations: 3.938 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4787, allocations: 18.64 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4787, allocations: 7.938 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.4787, allocations: 7.094 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.4788, allocations: 2.469 kB / 0.5387 GB, free: 7.977 MB / 398.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.479, allocations: 219 kB / 0.539 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.4791, allocations: 50.12 kB / 0.539 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.4794, allocations: 160.5 kB / 0.5392 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4794, allocations: 1.188 kB / 0.5392 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4794, allocations: 3.938 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4794, allocations: 1.5 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.4801, allocations: 0.5017 MB / 0.5397 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.4801, allocations: 3.938 kB / 0.5397 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.4802, allocations: 18.98 kB / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4802, allocations: 1.156 kB / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.4802, allocations: 1.062 kB / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4802, allocations: 1.094 kB / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4803, allocations: 0 / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.4806, allocations: 251 kB / 0.5399 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.4807, allocations: 115 kB / 0.54 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4807, allocations: 5.469 kB / 0.54 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.4808, allocations: 3.562 kB / 0.54 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4808, allocations: 7.578 kB / 0.54 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4808, allocations: 6.125 kB / 0.54 GB, free: 6.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007516/0.4816, allocations: 0.657 MB / 0.5407 GB, free: 6.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4816, allocations: 0 / 0.5407 GB, free: 6.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4819, allocations: 26 kB / 0.5407 GB, free: 6.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.4829, allocations: 451 kB / 0.5411 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4832, allocations: 75.33 kB / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4832, allocations: 0 / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.4833, allocations: 37.83 kB / 0.5413 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.4837, allocations: 34 kB / 0.5413 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4849, allocations: 0.8257 MB / 0.5421 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.4854, allocations: 0.827 MB / 0.5429 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.4854, allocations: 15.92 kB / 0.5429 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.4855, allocations: 22.81 kB / 0.5429 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4855, allocations: 0 / 0.5429 GB, free: 5.035 MB / 398.1 MB Notification: Performance of Templates: time 0.004873/0.4903, allocations: 1.723 MB / 0.5446 GB, free: 3.582 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches