Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 121.7 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.001419/0.00142, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, 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.2247/0.2247, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4163, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003264/0.4197, allocations: 1.618 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.4206, allocations: 0.5571 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.4207, allocations: 1.375 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.4213, allocations: 452 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.4217, allocations: 296.8 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.4222, allocations: 178.4 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.4225, allocations: 163 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4226, allocations: 14.84 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4227, allocations: 106.9 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.423, allocations: 210.8 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4231, allocations: 1.344 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.4231, allocations: 32.25 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4233, allocations: 86.31 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.4234, allocations: 98.56 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.4238, allocations: 254.1 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4238, allocations: 1.312 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4238, allocations: 0 / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.4238, allocations: 0 / 0.5349 GB, free: 10.96 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.0008017/0.4246, allocations: 0.6301 MB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4247, allocations: 9.844 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.4247, allocations: 50.42 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.4251, allocations: 295.2 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.4251, allocations: 1.688 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4251, allocations: 1.469 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4253, allocations: 53.56 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4253, allocations: 0 / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4253, allocations: 5.125 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4253, allocations: 0 / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.4254, allocations: 30.16 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.426, allocations: 389 kB / 0.5364 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.902e-05/0.4261, allocations: 32.56 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.4261, allocations: 15.83 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.4262, allocations: 1 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4262, allocations: 35.66 kB / 0.5364 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4262, allocations: 0 / 0.5364 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000292/0.4265, allocations: 108 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.4266, allocations: 51.41 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.4275, allocations: 0.8707 MB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.4275, allocations: 26.86 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.4277, allocations: 224.9 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.4277, allocations: 5.062 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.4278, allocations: 13.19 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4279, allocations: 367 kB / 0.538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.428, allocations: 6.25 kB / 0.538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.428, allocations: 14.23 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.208e-05/0.4281, allocations: 26.53 kB / 0.5381 GB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4281, allocations: 4 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001516/0.4283, allocations: 91.48 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4283, allocations: 5.562 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4283, allocations: 0 / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4283, allocations: 1.125 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.4284, allocations: 12.25 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4284, allocations: 0 / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.4285, allocations: 9.953 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4285, allocations: 5.094 kB / 0.5382 GB, free: 8.273 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 (2): * Single equations (assignments): 2 * 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.0002123/0.4287, allocations: 221.9 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.4288, allocations: 37.91 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.429, allocations: 105 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.429, allocations: 1.594 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.429, allocations: 0 / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.429, allocations: 0 / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.4293, allocations: 288.5 kB / 0.5388 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4293, allocations: 4.031 kB / 0.5388 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.4294, allocations: 8.453 kB / 0.5388 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4294, allocations: 3.938 kB / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4294, allocations: 1.438 kB / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4294, allocations: 0 / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4294, allocations: 0 / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.4296, allocations: 194.6 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.4297, allocations: 117.8 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.4297, allocations: 0 / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.4298, allocations: 3.062 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.4298, allocations: 0 / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4299, allocations: 1.312 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.4306, allocations: 0.6585 MB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 0 / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.4308, allocations: 14.97 kB / 0.5398 GB, free: 7.137 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 (2): * Single equations (assignments): 2 * 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.0008858/0.4317, allocations: 353.4 kB / 0.5401 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.4319, allocations: 28.17 kB / 0.5402 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4319, allocations: 0 / 0.5402 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.4319, allocations: 19.8 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.4323, allocations: 31.69 kB / 0.5402 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4334, allocations: 0.7638 MB / 0.541 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.4338, allocations: 0.8241 MB / 0.5418 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.4339, allocations: 13.38 kB / 0.5418 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.4339, allocations: 15.92 kB / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4339, allocations: 0 / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of Templates: time 0.004362/0.4383, allocations: 1.266 MB / 0.543 GB, free: 5.086 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches