Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.00134, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 84.08 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.47, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003589/0.4736, allocations: 1.684 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4748, allocations: 0.5716 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.4749, allocations: 1.844 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.4752, allocations: 53.45 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.4756, allocations: 91.22 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.4761, allocations: 181.9 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.4763, allocations: 83.56 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4764, allocations: 31.22 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.4765, allocations: 37.53 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.4766, allocations: 45.7 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.4767, allocations: 4.125 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4768, allocations: 44.98 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.4769, allocations: 20.17 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.4769, allocations: 34.61 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.4772, allocations: 122.5 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4772, allocations: 4 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4772, allocations: 0 / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.4772, allocations: 1.375 kB / 0.5339 GB, free: 11.4 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.0005926/0.4778, allocations: 420.9 kB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4779, allocations: 9.625 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4779, allocations: 9.016 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4781, allocations: 198.2 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4781, allocations: 7.062 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.4782, allocations: 3.125 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.4784, allocations: 76.98 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4784, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4784, allocations: 1.375 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4784, allocations: 1.375 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.4786, allocations: 44.42 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.4791, allocations: 326.5 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.4794, allocations: 57.08 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.4795, allocations: 30.53 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.4796, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4796, allocations: 31.72 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4796, allocations: 5.688 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00162/0.4812, allocations: 420.5 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4813, allocations: 60.34 kB / 0.5356 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4815, allocations: 176 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4815, allocations: 25.7 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4816, allocations: 109.8 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.4816, allocations: 40.19 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.4817, allocations: 26.11 kB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4818, allocations: 321.9 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.482, allocations: 52.72 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4821, allocations: 53.39 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.4824, allocations: 128.5 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4824, allocations: 0 / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003526/0.4828, allocations: 172.9 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4828, allocations: 5.344 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4829, allocations: 0 / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4829, allocations: 7.984 kB / 0.5366 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.483, allocations: 29.2 kB / 0.5367 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.483, allocations: 3.984 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.4831, allocations: 6.188 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4831, allocations: 2.656 kB / 0.5367 GB, free: 9.062 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 (11): * Single equations (assignments): 11 * 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.0001268/0.4832, allocations: 132.1 kB / 0.5368 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4833, allocations: 13.34 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.4837, allocations: 193.6 kB / 0.537 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4838, allocations: 9.094 kB / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4838, allocations: 1.062 kB / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4838, allocations: 0 / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.4846, allocations: 0.4959 MB / 0.5375 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4846, allocations: 1.062 kB / 0.5375 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4847, allocations: 32.88 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4847, allocations: 1.25 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4847, allocations: 2.406 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.4847, allocations: 5.125 kB / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4847, allocations: 1.062 kB / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.4852, allocations: 272.6 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.4852, allocations: 88.27 kB / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4853, allocations: 6.219 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.4854, allocations: 13.64 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4854, allocations: 12.3 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4855, allocations: 8.094 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4856, allocations: 136.1 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 1.125 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000321/0.4859, allocations: 30.02 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001236/0.4872, allocations: 466.8 kB / 0.5385 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.4876, allocations: 132.2 kB / 0.5387 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4876, allocations: 0 / 0.5387 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.4878, allocations: 71.42 kB / 0.5387 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4882, allocations: 23.19 kB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.4889, allocations: 300.5 kB / 0.539 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.4894, allocations: 0.7198 MB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.4895, allocations: 25.94 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.4895, allocations: 22.83 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4895, allocations: 0 / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Templates: time 0.005032/0.4946, allocations: 1.634 MB / 0.5414 GB, free: 5.738 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches