Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 79.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4846, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003391/0.4881, allocations: 1.655 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.49, allocations: 1.17 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.4901, allocations: 1.375 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.4903, allocations: 23.92 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.4906, allocations: 85.73 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.491, allocations: 143.9 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.4912, allocations: 72.64 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.4913, allocations: 10.88 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.4913, allocations: 34.84 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.4915, allocations: 35.72 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.4915, allocations: 4.125 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.4917, allocations: 109.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.4918, allocations: 21.47 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.4918, allocations: 25.31 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4921, allocations: 142.5 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4921, allocations: 5.359 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4921, allocations: 0 / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4921, allocations: 0 / 0.5345 GB, free: 10.94 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.0005387/0.4926, allocations: 413.6 kB / 0.5348 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4927, allocations: 9.625 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.4927, allocations: 12.97 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.493, allocations: 188.3 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.493, allocations: 7.031 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.493, allocations: 1.719 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4932, allocations: 77.09 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4932, allocations: 5.406 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.4932, allocations: 3.938 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4932, allocations: 5.328 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4934, allocations: 36.25 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.4938, allocations: 299 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4939, allocations: 39.56 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.494, allocations: 31.81 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.494, allocations: 5.031 kB / 0.5355 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.494, allocations: 35.62 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.494, allocations: 0 / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007728/0.4948, allocations: 215.5 kB / 0.5358 GB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4949, allocations: 78.33 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.495, allocations: 147.9 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4951, allocations: 25.7 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.4951, allocations: 95.59 kB / 0.5361 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4952, allocations: 23.23 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.4952, allocations: 23.45 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4953, allocations: 324 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4954, allocations: 30.84 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.4956, allocations: 46.75 kB / 0.5365 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.4958, allocations: 76.61 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4958, allocations: 4.031 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002795/0.4961, allocations: 110.9 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4961, allocations: 5.125 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4961, allocations: 0 / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4961, allocations: 0.9375 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4963, allocations: 18.61 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.4963, allocations: 1.125 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.4964, allocations: 18.67 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4964, allocations: 1.594 kB / 0.5368 GB, free: 8.777 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 8.722e-05/0.4965, allocations: 119 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4965, allocations: 7.875 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.4969, allocations: 131.4 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4969, allocations: 5.188 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4969, allocations: 0 / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4969, allocations: 7.875 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.4974, allocations: 396.6 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4974, allocations: 0 / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.4975, allocations: 19.02 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4975, allocations: 0 / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4975, allocations: 8.844 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4975, allocations: 1.359 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4975, allocations: 3.984 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4979, allocations: 214 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4979, allocations: 79.17 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.498, allocations: 13.28 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.498, allocations: 10.73 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.4981, allocations: 6.531 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4981, allocations: 5.297 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.4982, allocations: 113.9 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4982, allocations: 0 / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.4985, allocations: 43.27 kB / 0.5379 GB, free: 7.754 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.001081/0.4996, allocations: 481.9 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.4999, allocations: 90.38 kB / 0.5384 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4999, allocations: 1.188 kB / 0.5384 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.5, allocations: 45.16 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.5004, allocations: 14.89 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.5009, allocations: 209.8 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.5012, allocations: 0.6927 MB / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.5012, allocations: 15.97 kB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5013, allocations: 19.16 kB / 0.5394 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5013, allocations: 0 / 0.5394 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.004997/0.5063, allocations: 1.916 MB / 0.5413 GB, free: 5.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches