Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 118.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.00145/0.00145, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 76.22 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4202, allocations: 62.43 MB / 0.531 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003583/0.4238, allocations: 1.649 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4248, allocations: 0.68 MB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.4249, allocations: 1.375 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.4252, allocations: 36.08 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.4254, allocations: 40.22 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.4255, allocations: 1.375 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.4256, allocations: 35.02 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.4257, allocations: 2.75 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.4257, allocations: 8.062 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.4258, allocations: 24.09 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4258, allocations: 0 / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.4259, allocations: 16.19 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.4259, allocations: 20.17 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.426, allocations: 19.94 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4261, allocations: 65.05 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4262, allocations: 4 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4262, allocations: 0 / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4262, allocations: 1.375 kB / 0.5335 GB, free: 11.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004088/0.4266, allocations: 367.5 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4266, allocations: 9.625 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.4267, allocations: 7.641 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4269, allocations: 175 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4269, allocations: 9.734 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4269, allocations: 3.125 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4271, allocations: 125.5 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4271, allocations: 192 / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4271, allocations: 5.312 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.4272, allocations: 23.11 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.4273, allocations: 47.22 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.428, allocations: 0.8947 MB / 0.5351 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.4281, allocations: 174.5 kB / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.4281, allocations: 80.14 kB / 0.5354 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4281, allocations: 79.22 kB / 0.5355 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.4282, allocations: 111.2 kB / 0.5356 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4282, allocations: 0 / 0.5356 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.607e-05/0.4283, allocations: 37.73 kB / 0.5356 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4284, allocations: 134.6 kB / 0.5357 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.4286, allocations: 182.2 kB / 0.5359 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4286, allocations: 25.7 kB / 0.5359 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4287, allocations: 151.8 kB / 0.5361 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.4288, allocations: 5.375 kB / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.4288, allocations: 44.78 kB / 0.5361 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.429, allocations: 317.6 kB / 0.5364 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.429, allocations: 34.5 kB / 0.5365 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4292, allocations: 153.4 kB / 0.5366 GB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.4295, allocations: 207.7 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4295, allocations: 5.031 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003493/0.4299, allocations: 193.9 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4299, allocations: 7.906 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4299, allocations: 12.45 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.43, allocations: 9.562 kB / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.4301, allocations: 40.48 kB / 0.5371 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.4302, allocations: 14.53 kB / 0.5371 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4303, allocations: 19.7 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4303, allocations: 14.09 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001611/0.4305, allocations: 209.4 kB / 0.5373 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.4305, allocations: 117 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.4306, allocations: 122.2 kB / 0.5375 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/0.4307, allocations: 181.3 kB / 0.5377 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.4308, allocations: 185.5 kB / 0.5379 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-05/0.4309, allocations: 181.4 kB / 0.5381 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4312, allocations: 420.5 kB / 0.5385 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/0.4313, allocations: 114 kB / 0.5386 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.4313, allocations: 102.1 kB / 0.5387 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.4314, allocations: 181.3 kB / 0.5388 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.4315, allocations: 181.5 kB / 0.539 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-05/0.4315, allocations: 180.3 kB / 0.5392 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.587e-05/0.4316, allocations: 185.4 kB / 0.5394 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4318, allocations: 310.5 kB / 0.5397 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.4319, allocations: 196.2 kB / 0.5398 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.4319, allocations: 182.5 kB / 0.54 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.432, allocations: 104.9 kB / 0.5401 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.4321, allocations: 181.4 kB / 0.5403 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.4322, allocations: 110.2 kB / 0.5404 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4323, allocations: 133.3 kB / 0.5405 GB, free: 4.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4323, allocations: 0 / 0.5405 GB, free: 4.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.4326, allocations: 12.53 kB / 0.5405 GB, free: 4.449 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 (0): * Single equations (assignments): 0 * 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.0006072/0.4332, allocations: 269.9 kB / 0.5408 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.4334, allocations: 77.81 kB / 0.5409 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4334, allocations: 0 / 0.5409 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4334, allocations: 1.094 kB / 0.5409 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4338, allocations: 468.8 kB / 0.5413 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4342, allocations: 249.3 kB / 0.5416 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4345, allocations: 0.704 MB / 0.5422 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.4347, allocations: 50.36 kB / 0.5423 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.4347, allocations: 18.03 kB / 0.5423 GB, free: 2.773 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4348, allocations: 0 / 0.5423 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Templates: time 0.003242/0.438, allocations: 0.7338 MB / 0.543 GB, free: 2.406 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches