Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 122.8 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.001596/0.001596, allocations: 201.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.459/1.459, 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.2341/0.2341, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4048, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.004601/0.4094, allocations: 1.66 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.4117, allocations: 1.199 MB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.4119, allocations: 1.375 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.4122, allocations: 27.97 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.4127, allocations: 89.67 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.4133, allocations: 174 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.4135, allocations: 75.45 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4137, allocations: 25.59 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.4138, allocations: 34.8 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.414, allocations: 37.58 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.414, allocations: 4.125 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.4143, allocations: 96.56 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.4144, allocations: 25.89 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.4144, allocations: 30.2 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.4149, allocations: 145.5 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4149, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4149, allocations: 0.7812 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4149, 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.0006914/0.4156, allocations: 415.1 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4157, allocations: 13.33 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.4157, allocations: 12.53 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.416, allocations: 191.1 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.416, allocations: 9.688 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.4161, allocations: 6.891 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.4163, allocations: 78.72 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4164, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4164, allocations: 1.281 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4164, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.4166, allocations: 50.67 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.4172, allocations: 309.5 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4173, allocations: 45.92 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4174, allocations: 25.22 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.4175, allocations: 0 / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4175, allocations: 43.69 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4175, allocations: 1.156 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001017/0.4186, allocations: 229.8 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4186, allocations: 86.11 kB / 0.536 GB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4188, allocations: 152.6 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4189, allocations: 25.7 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.4189, allocations: 99.94 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.419, allocations: 23.22 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.419, allocations: 28.17 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4192, allocations: 320 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4193, allocations: 38.06 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.4195, allocations: 50.28 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.4197, allocations: 90.98 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4197, allocations: 0 / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003367/0.4201, allocations: 129 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4201, allocations: 5.438 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4201, allocations: 0 / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4201, allocations: 3.984 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4203, allocations: 23.73 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4203, allocations: 0 / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.4204, allocations: 14.14 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4204, allocations: 6.688 kB / 0.537 GB, free: 8.684 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.879e-05/0.4205, allocations: 115.2 kB / 0.5371 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.4206, allocations: 7.719 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.421, allocations: 142.9 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.421, allocations: 0.9375 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.421, allocations: 0 / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.421, allocations: 13.08 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.4217, allocations: 414.4 kB / 0.5376 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4217, allocations: 0 / 0.5376 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.4219, allocations: 23.05 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4219, allocations: 0 / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4219, allocations: 5.281 kB / 0.5376 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4219, allocations: 0 / 0.5376 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4219, allocations: 5 kB / 0.5376 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.4223, allocations: 219.3 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.4224, allocations: 87.44 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.4224, allocations: 9.031 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4225, allocations: 10.34 kB / 0.538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.4226, allocations: 10.7 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4226, allocations: 6.094 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.4227, allocations: 114.3 kB / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4227, allocations: 0 / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.423, allocations: 34.97 kB / 0.5381 GB, free: 7.652 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.00126/0.4243, allocations: 490.6 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.4247, allocations: 100.1 kB / 0.5387 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4247, allocations: 0.9688 kB / 0.5387 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.4249, allocations: 52.53 kB / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.4253, allocations: 21.95 kB / 0.5388 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.426, allocations: 218.8 kB / 0.539 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4263, allocations: 0.703 MB / 0.5396 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.4265, allocations: 26.34 kB / 0.5397 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4265, allocations: 15.19 kB / 0.5397 GB, free: 6.418 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4265, allocations: 3.938 kB / 0.5397 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Templates: time 0.006378/0.4329, allocations: 1.95 MB / 0.5416 GB, free: 5.391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches