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.001121/0.00112, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, 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.2225/0.2225, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4881, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003507/0.4917, allocations: 1.669 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.4937, allocations: 1.199 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.4937, allocations: 1.375 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.494, allocations: 27.97 kB / 0.5338 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.4944, allocations: 85.73 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.4949, allocations: 173.8 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4951, allocations: 83.38 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.4952, allocations: 21.61 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.4953, allocations: 34.84 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.4955, allocations: 40.16 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4955, allocations: 5.5 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.4957, allocations: 91.88 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.4958, allocations: 26.44 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.4959, allocations: 26.67 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.4963, allocations: 149.4 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.4963, allocations: 4 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4963, allocations: 0 / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4963, allocations: 0 / 0.5345 GB, free: 10.88 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.0009261/0.4973, allocations: 415.8 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.4974, allocations: 8.844 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.4974, allocations: 8.656 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4977, allocations: 198.8 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4977, allocations: 1.375 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.4978, allocations: 2.594 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.498, allocations: 87.66 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4981, allocations: 0 / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4981, allocations: 1.188 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.4981, allocations: 0 / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.4983, allocations: 38.83 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.4988, allocations: 318 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.499, allocations: 49.11 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.4991, allocations: 25.16 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.4991, allocations: 4.938 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4992, allocations: 31.66 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4992, allocations: 4 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008904/0.5001, allocations: 230.6 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.5001, allocations: 78.17 kB / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.5003, allocations: 156 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.5004, allocations: 26.73 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.5004, allocations: 99.69 kB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.5005, allocations: 22.41 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.5005, allocations: 28.42 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5007, allocations: 320 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5008, allocations: 41.89 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5009, allocations: 53.69 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.5012, allocations: 87.86 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5012, allocations: 0 / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002923/0.5015, allocations: 128.4 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5015, allocations: 5.25 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5015, allocations: 0 / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5015, allocations: 1.219 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5017, allocations: 22.95 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5017, allocations: 3.984 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.5018, allocations: 10.09 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.5018, allocations: 1.812 kB / 0.5369 GB, free: 8.668 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 9.912e-05/0.5019, allocations: 129.3 kB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.5019, allocations: 11.78 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.5023, allocations: 142 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5023, allocations: 5 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5023, allocations: 0 / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5023, allocations: 4.969 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.503, allocations: 410.4 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.503, allocations: 0 / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.5031, allocations: 23.31 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5031, allocations: 0 / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5031, allocations: 4.969 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5031, allocations: 1.344 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5031, allocations: 3.938 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.5035, allocations: 228.4 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.5035, allocations: 83.11 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.5035, allocations: 9.594 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.5036, allocations: 9.141 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5037, allocations: 6.797 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.5037, allocations: 6.062 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.5038, allocations: 117.8 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5038, allocations: 1.25 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.5041, allocations: 38.02 kB / 0.5381 GB, free: 7.621 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.001186/0.5053, allocations: 482.1 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.5057, allocations: 100.7 kB / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5057, allocations: 8.938 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5058, allocations: 47.83 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.5062, allocations: 18.69 kB / 0.5387 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.5067, allocations: 222.8 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.507, allocations: 0.7021 MB / 0.5396 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.597e-05/0.5071, allocations: 19 kB / 0.5397 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.5072, allocations: 23.33 kB / 0.5397 GB, free: 6.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5072, allocations: 0 / 0.5397 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Templates: time 0.005436/0.5126, allocations: 1.931 MB / 0.5416 GB, free: 5.387 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