Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 201.2 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.631/1.631, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 75.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3305, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002842/0.3333, allocations: 1.685 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.3343, allocations: 0.5542 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.3344, allocations: 1.375 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3347, allocations: 56.73 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.335, allocations: 100.7 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3353, allocations: 133.7 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3355, allocations: 83.56 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3356, allocations: 21.84 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3357, allocations: 42.91 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3358, allocations: 49.83 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3358, allocations: 4.125 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.863e-05/0.3359, allocations: 48.97 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.336, allocations: 20.17 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.3361, allocations: 38.61 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3363, allocations: 120.3 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3363, allocations: 0 / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3363, allocations: 5.312 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3363, allocations: 0 / 0.5334 GB, free: 11.24 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006421/0.3369, allocations: 419.7 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.337, allocations: 10.47 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.337, allocations: 40 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3371, allocations: 13.41 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3373, allocations: 203.3 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.3373, allocations: 2.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3373, allocations: 10.52 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3375, allocations: 67.95 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3375, allocations: 7.984 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3375, allocations: 0.8125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3375, allocations: 1.094 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3377, allocations: 38.31 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3381, allocations: 307.2 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3383, allocations: 58.52 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.3384, allocations: 24.88 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3384, allocations: 1.25 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3385, allocations: 35.88 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.3385, allocations: 96 / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001394/0.3399, allocations: 404.9 kB / 0.535 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3399, allocations: 57.66 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3401, allocations: 195.7 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3402, allocations: 25.7 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.3402, allocations: 101.9 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.3403, allocations: 39.58 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3403, allocations: 25.97 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3405, allocations: 325.6 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3406, allocations: 43.33 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3407, allocations: 40.72 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3409, allocations: 104 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3409, allocations: 4.5 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/0.3413, allocations: 146.6 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3413, allocations: 5.344 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3413, allocations: 0 / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3413, allocations: 5.031 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3414, allocations: 36.61 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3414, allocations: 0 / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.3415, allocations: 14.67 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3415, allocations: 3.125 kB / 0.5361 GB, free: 8.887 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 (11): * Single equations (assignments): 11 * 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.0001239/0.3417, allocations: 130.7 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.3417, allocations: 9.875 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.3421, allocations: 166.4 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3422, allocations: 6.156 kB / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3422, allocations: 0 / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3422, allocations: 0 / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.3428, allocations: 481 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3429, allocations: 1.219 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.343, allocations: 32.66 kB / 0.5369 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.343, allocations: 1 kB / 0.5369 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.343, allocations: 6.188 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.343, allocations: 5.031 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.343, allocations: 1.094 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3434, allocations: 259.1 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3435, allocations: 88.52 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3435, allocations: 2.125 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3436, allocations: 14.52 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.3437, allocations: 12.7 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3437, allocations: 3.375 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3439, allocations: 154.9 kB / 0.5374 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3439, allocations: 0 / 0.5374 GB, free: 7.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3442, allocations: 21.47 kB / 0.5374 GB, free: 7.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001754/0.346, allocations: 1.127 MB / 0.5385 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3463, allocations: 113.9 kB / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3463, allocations: 0 / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3465, allocations: 58.94 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.347, allocations: 26.36 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.3495, allocations: 1.821 MB / 0.5405 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3497, allocations: 0.7128 MB / 0.5412 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.3498, allocations: 22.34 kB / 0.5412 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.3499, allocations: 43.11 kB / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3499, allocations: 0 / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.3714, allocations: 3.392 MB / 0.5446 GB, free: 2.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.083, allocations: 12.09 kB / 0.5446 GB, free: 2.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches