Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001037, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001195, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 79.81 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5329, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003525/0.5365, allocations: 1.612 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.5377, allocations: 0.5582 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.5378, allocations: 1.375 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.5386, allocations: 457.5 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.5392, allocations: 291.6 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.5398, allocations: 168.3 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.5402, allocations: 166.4 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.5403, allocations: 15.39 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.5406, allocations: 109.5 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.5409, allocations: 206.9 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.5409, allocations: 6.594 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.541, allocations: 27.55 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.5412, allocations: 82.41 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.5413, allocations: 102.5 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.5416, allocations: 254.9 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5416, allocations: 1.156 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5416, allocations: 0 / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.5417, allocations: 3.938 kB / 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.0008622/0.5425, allocations: 0.6363 MB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5426, allocations: 9.219 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.5427, allocations: 47.44 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.543, allocations: 311.6 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.543, allocations: 5.625 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.543, allocations: 1.281 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5432, allocations: 53.12 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5432, allocations: 0 / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.5432, allocations: 1.688 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5433, allocations: 0 / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.5434, allocations: 30.31 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.544, allocations: 384.7 kB / 0.5364 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.5441, allocations: 36.59 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.5441, allocations: 15.39 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.5442, allocations: 1.281 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5442, allocations: 36.19 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5442, allocations: 0 / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.5446, allocations: 103.4 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.5446, allocations: 56.61 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.5458, allocations: 0.8702 MB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5458, allocations: 30.55 kB / 0.5375 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.546, allocations: 221.7 kB / 0.5377 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.5461, allocations: 5.422 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.5461, allocations: 16.03 kB / 0.5377 GB, free: 8.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5463, allocations: 367.3 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.5463, allocations: 6.562 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.5464, allocations: 14.89 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.5464, allocations: 25.28 kB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5464, allocations: 0 / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001601/0.5466, allocations: 100.8 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5466, allocations: 4.219 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.5467, allocations: 0 / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5467, allocations: 1.656 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.5468, allocations: 8.188 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5468, allocations: 0 / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.5468, allocations: 10.38 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5468, allocations: 0 / 0.5382 GB, free: 8.258 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.0002089/0.5471, allocations: 214.5 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.5471, allocations: 46.44 kB / 0.5385 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.5474, allocations: 112.3 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5474, allocations: 1.562 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5474, allocations: 3.938 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.5474, allocations: 4 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.5478, allocations: 288.2 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5478, allocations: 0 / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.5478, allocations: 8.906 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5478, allocations: 3.984 kB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.5478, allocations: 5.031 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5479, allocations: 0 / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5479, allocations: 1.594 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5481, allocations: 189.6 kB / 0.5391 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5482, allocations: 114.1 kB / 0.5392 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.5482, allocations: 5.125 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.5483, allocations: 0.9375 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.5483, allocations: 1.062 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.5484, allocations: 1.125 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.5492, allocations: 0.658 MB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5492, allocations: 0 / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.5494, allocations: 19.19 kB / 0.5398 GB, free: 7.105 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.0009557/0.5504, allocations: 353 kB / 0.5402 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.5506, allocations: 27.3 kB / 0.5402 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5506, allocations: 0 / 0.5402 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.5506, allocations: 16.36 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.5511, allocations: 32.36 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5527, allocations: 0.777 MB / 0.541 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.5532, allocations: 0.8193 MB / 0.5418 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.5533, allocations: 18.47 kB / 0.5418 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.5533, allocations: 11.91 kB / 0.5418 GB, free: 5.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5533, allocations: 0 / 0.5418 GB, free: 5.68 MB / 398.1 MB Notification: Performance of Templates: time 0.005512/0.5589, allocations: 1.266 MB / 0.5431 GB, free: 5.043 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches