Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4815, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003689/0.4852, allocations: 1.661 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.4878, allocations: 1.194 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.4879, allocations: 1.281 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.4881, allocations: 32.31 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.4886, allocations: 82.25 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.4891, allocations: 176.7 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4893, allocations: 79.05 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.4894, allocations: 21.98 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.4895, allocations: 36.06 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.4896, allocations: 36.41 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.4896, allocations: 4.594 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.4899, allocations: 104.8 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.4899, allocations: 17.39 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.49, allocations: 26.23 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.4903, allocations: 157.9 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4903, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4903, allocations: 1.125 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4903, allocations: 0 / 0.5345 GB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004831/0.4908, allocations: 428.5 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4908, allocations: 9.625 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.4909, allocations: 8.891 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.4911, allocations: 186.5 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.4911, allocations: 1.656 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4911, allocations: 6.547 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.4913, allocations: 87.08 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4914, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4914, allocations: 1.062 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4914, allocations: 1.344 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.4915, allocations: 42.14 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.4919, allocations: 305.8 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4921, allocations: 57.73 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.4922, allocations: 23.94 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4922, allocations: 1.375 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4922, allocations: 35.94 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.4922, allocations: 0 / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008532/0.4931, allocations: 234.4 kB / 0.5359 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.4932, allocations: 78.67 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4934, allocations: 151.5 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4934, allocations: 26.86 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.4935, allocations: 103.7 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.4936, allocations: 30.56 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.4936, allocations: 20.23 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4938, allocations: 321 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.494, allocations: 41.55 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4941, allocations: 49.28 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.4944, allocations: 98.75 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4944, allocations: 1.062 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003394/0.4948, allocations: 120.8 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4948, allocations: 8.25 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4948, allocations: 9.609 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.4948, allocations: 0 / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4949, allocations: 18.67 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4949, allocations: 1.406 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.495, allocations: 13.58 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.495, allocations: 2.312 kB / 0.537 GB, free: 8.688 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 (7): * Single equations (assignments): 7 * 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.0001028/0.4951, allocations: 124.1 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.4952, allocations: 7.859 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.4956, allocations: 141.3 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.4956, allocations: 1.125 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4956, allocations: 1.531 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4956, allocations: 7.922 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.4962, allocations: 413.9 kB / 0.5376 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4962, allocations: 0 / 0.5376 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.4963, allocations: 19.42 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4964, allocations: 0 / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4964, allocations: 5 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4964, allocations: 1.156 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4964, allocations: 0 / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.4967, allocations: 231.8 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.4968, allocations: 91.3 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.4968, allocations: 5.156 kB / 0.538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.4969, allocations: 10.2 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.497, allocations: 6.781 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.497, allocations: 2 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4971, allocations: 114.4 kB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4971, allocations: 4 kB / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.4974, allocations: 47.45 kB / 0.5381 GB, free: 7.641 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 (7): * Single equations (assignments): 7 * 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.001139/0.4986, allocations: 495 kB / 0.5386 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.4989, allocations: 96.5 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4989, allocations: 1.188 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.4991, allocations: 48.09 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.4994, allocations: 25.33 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.4999, allocations: 212.7 kB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5003, allocations: 0.7036 MB / 0.5397 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.5004, allocations: 31.16 kB / 0.5397 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.5004, allocations: 13.81 kB / 0.5397 GB, free: 6.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5004, allocations: 5.062 kB / 0.5397 GB, free: 6.402 MB / 398.1 MB Notification: Performance of Templates: time 0.004884/0.5053, allocations: 1.932 MB / 0.5416 GB, free: 5.398 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches