Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 205.2 kB / 18.74 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.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 76.2 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4857, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003426/0.4892, allocations: 1.621 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4903, allocations: 0.5361 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.4904, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.4911, allocations: 457.3 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.4917, allocations: 292.1 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.4921, allocations: 132.7 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.4924, allocations: 166.8 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4925, allocations: 13.39 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.4927, allocations: 106.6 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.493, allocations: 210.7 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.493, allocations: 3.438 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.4931, allocations: 23.55 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4932, allocations: 89.95 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.4933, allocations: 102.9 kB / 0.5346 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.4937, allocations: 257 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4938, allocations: 1.406 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4938, allocations: 0 / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4938, allocations: 0 / 0.5349 GB, free: 10.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000925/0.4947, allocations: 0.6514 MB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4948, allocations: 8.844 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.4948, allocations: 42.81 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.4951, allocations: 298.6 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4952, allocations: 9.344 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4952, allocations: 6.453 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4953, allocations: 53.91 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4954, allocations: 0.9375 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4954, allocations: 0 / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4954, allocations: 9.078 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4955, allocations: 30.06 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.496, allocations: 378.6 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4961, allocations: 41.16 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.4962, allocations: 22.94 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4963, allocations: 9.266 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4963, allocations: 34.55 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.4963, allocations: 1.219 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003792/0.4967, allocations: 121.2 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.4968, allocations: 51.41 kB / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4978, allocations: 0.8677 MB / 0.5374 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4978, allocations: 29.7 kB / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.498, allocations: 210.9 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.4981, allocations: 5.484 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.4981, allocations: 17.52 kB / 0.5377 GB, free: 8.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.4984, allocations: 363.1 kB / 0.538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.4985, allocations: 13.11 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.4985, allocations: 17.11 kB / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4986, allocations: 39.7 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4987, allocations: 0 / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002164/0.4989, allocations: 113.5 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4989, allocations: 5.656 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4989, allocations: 0 / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4989, allocations: 1.156 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.499, allocations: 10.58 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4991, allocations: 9.188 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.4991, allocations: 6.922 kB / 0.5382 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4991, allocations: 1.125 kB / 0.5382 GB, free: 8.25 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 (3): * Single equations (assignments): 3 * 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.0002131/0.4994, allocations: 213 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.4994, allocations: 45.97 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.4998, allocations: 119.6 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4998, allocations: 5.25 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4998, allocations: 7.938 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4998, allocations: 0 / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.5001, allocations: 288.9 kB / 0.5389 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5002, allocations: 0 / 0.5389 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.5002, allocations: 10.42 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5002, allocations: 1.031 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.5002, allocations: 1.375 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5002, allocations: 0 / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5003, allocations: 1.062 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.5006, allocations: 211.4 kB / 0.5391 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.5007, allocations: 110.7 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.5008, allocations: 1.062 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.5009, allocations: 2.719 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.5009, allocations: 5.109 kB / 0.5392 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5009, allocations: 1.531 kB / 0.5392 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007767/0.5017, allocations: 0.6483 MB / 0.5399 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5017, allocations: 7.938 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.502, allocations: 23.25 kB / 0.5399 GB, free: 7.082 MB / 398.1 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 (3): * Single equations (assignments): 3 * 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.0009103/0.5029, allocations: 342.6 kB / 0.5402 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5031, allocations: 41.91 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5031, allocations: 7.875 kB / 0.5403 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.5032, allocations: 19.8 kB / 0.5403 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.5037, allocations: 31.19 kB / 0.5403 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.505, allocations: 0.79 MB / 0.5411 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.5055, allocations: 0.8226 MB / 0.5419 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.5056, allocations: 12.39 kB / 0.5419 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.5056, allocations: 10.78 kB / 0.5419 GB, free: 5.648 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5056, allocations: 0 / 0.5419 GB, free: 5.648 MB / 398.1 MB Notification: Performance of Templates: time 0.00525/0.5109, allocations: 1.272 MB / 0.5431 GB, free: 5.012 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches