Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 118.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, 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.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 80.16 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4272, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003962/0.4313, allocations: 1.937 MB / 0.5329 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.4333, allocations: 0.9846 MB / 0.5338 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.4335, allocations: 1.375 kB / 0.5338 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.434, allocations: 248.1 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.4346, allocations: 262.3 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4358, allocations: 485.1 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.4363, allocations: 292.9 kB / 0.5351 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.4364, allocations: 44.81 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.4366, allocations: 137.5 kB / 0.5353 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.4369, allocations: 191.5 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.437, allocations: 8.031 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.4371, allocations: 54.56 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.4373, allocations: 87.14 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.4374, allocations: 108.6 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.4378, allocations: 290.2 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4378, allocations: 0 / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4378, allocations: 4 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4378, allocations: 0 / 0.536 GB, free: 10.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008722/0.4387, allocations: 0.6123 MB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4387, allocations: 9.188 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.4388, allocations: 37.88 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.4392, allocations: 317.2 kB / 0.5369 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4392, allocations: 11.56 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.4392, allocations: 4.594 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.4394, allocations: 82.2 kB / 0.537 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4395, allocations: 5.062 kB / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4395, allocations: 0 / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4395, allocations: 2.125 kB / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.4396, allocations: 52.22 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.4403, allocations: 433.5 kB / 0.5375 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4404, allocations: 53.44 kB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.4405, allocations: 37.83 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.4406, allocations: 5.984 kB / 0.5376 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4406, allocations: 35.44 kB / 0.5376 GB, free: 8.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4406, allocations: 0 / 0.5376 GB, free: 8.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000411/0.441, allocations: 131 kB / 0.5377 GB, free: 8.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4411, allocations: 56.78 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.4418, allocations: 0.564 MB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4418, allocations: 25.7 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.442, allocations: 196.7 kB / 0.5385 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.442, allocations: 18.28 kB / 0.5386 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.4421, allocations: 27.05 kB / 0.5386 GB, free: 7.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4422, allocations: 350.3 kB / 0.5389 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.4423, allocations: 14.66 kB / 0.5389 GB, free: 7.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.4423, allocations: 21.39 kB / 0.5389 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4425, allocations: 52.39 kB / 0.539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4425, allocations: 1.156 kB / 0.539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002082/0.4427, allocations: 109.3 kB / 0.5391 GB, free: 7.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4427, allocations: 5.094 kB / 0.5391 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4427, allocations: 0 / 0.5391 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4427, allocations: 5.109 kB / 0.5391 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.4428, allocations: 13.19 kB / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4429, allocations: 1.094 kB / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.4429, allocations: 14.09 kB / 0.5391 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4429, allocations: 6.203 kB / 0.5391 GB, free: 7.336 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 (6): * Single equations (assignments): 6 * 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.0001668/0.4431, allocations: 162.9 kB / 0.5393 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.4432, allocations: 35.78 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.4435, allocations: 139.4 kB / 0.5395 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4435, allocations: 3.938 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4436, allocations: 1.625 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4436, allocations: 0 / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.4439, allocations: 292.6 kB / 0.5398 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4439, allocations: 4 kB / 0.5398 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.444, allocations: 14.02 kB / 0.5398 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.444, allocations: 1.312 kB / 0.5398 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.444, allocations: 1.562 kB / 0.5398 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.444, allocations: 3.938 kB / 0.5398 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.444, allocations: 0 / 0.5398 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.4443, allocations: 214 kB / 0.54 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.4444, allocations: 103.4 kB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.4444, allocations: 1.062 kB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.4445, allocations: 14.45 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.4445, allocations: 2.062 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4445, allocations: 2.219 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004646/0.445, allocations: 424.2 kB / 0.5405 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.445, allocations: 0 / 0.5405 GB, free: 6.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.4453, allocations: 32.12 kB / 0.5405 GB, free: 6.262 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 (6): * Single equations (assignments): 6 * 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.001476/0.4468, allocations: 0.5779 MB / 0.5411 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.447, allocations: 57.53 kB / 0.5412 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.447, allocations: 0 / 0.5412 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.4471, allocations: 24.27 kB / 0.5412 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.4477, allocations: 87.52 kB / 0.5413 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4488, allocations: 0.6071 MB / 0.5419 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4492, allocations: 0.7969 MB / 0.5426 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4494, allocations: 29.83 kB / 0.5427 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.4494, allocations: 33.14 kB / 0.5427 GB, free: 4.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4494, allocations: 0 / 0.5427 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Templates: time 0.007066/0.4565, allocations: 2.714 MB / 0.5453 GB, free: 2.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches