Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.00175, allocations: 113.6 kB / 17.78 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.002024/0.002025, allocations: 204.7 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.371/1.371, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 75.88 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003033/0.3318, allocations: 1.671 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3335, allocations: 1.169 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.3336, allocations: 1.375 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3338, allocations: 19.97 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3341, allocations: 93.69 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3344, allocations: 133.2 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3346, allocations: 64.72 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.3347, allocations: 24.09 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.3347, allocations: 34.36 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3349, allocations: 40.11 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3349, allocations: 4.031 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.3351, allocations: 92.72 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.3351, allocations: 21.83 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.3352, allocations: 29.52 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.3355, allocations: 148.5 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3355, allocations: 3.984 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3355, allocations: 1 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3355, allocations: 0 / 0.5341 GB, free: 10.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005782/0.3361, allocations: 427.1 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3361, allocations: 8.938 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.3362, allocations: 31.91 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3362, allocations: 13.42 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3364, allocations: 204.2 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3364, allocations: 1.844 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3365, allocations: 7.109 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3367, allocations: 76.67 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3367, allocations: 0 / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3367, allocations: 5.344 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3367, allocations: 0 / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3368, allocations: 37.44 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3372, allocations: 292.5 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3374, allocations: 46.56 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.3375, allocations: 28.44 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3375, allocations: 5.109 kB / 0.5352 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.3375, allocations: 39.55 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3375, allocations: 0 / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007763/0.3383, allocations: 215.8 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3384, allocations: 83.8 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3386, allocations: 154.7 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3386, allocations: 29.7 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.3387, allocations: 100.3 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3387, allocations: 30.48 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3387, allocations: 19.22 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3389, allocations: 321.6 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.339, allocations: 33.78 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3391, allocations: 51.69 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3393, allocations: 68.69 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3394, allocations: 0 / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000272/0.3396, allocations: 123.2 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3397, allocations: 9.484 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3397, allocations: 4.031 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3397, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3398, allocations: 18.83 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3398, allocations: 1.344 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.3399, allocations: 18.2 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3399, allocations: 2.188 kB / 0.5365 GB, free: 8.422 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 (7): * Single equations (assignments): 7 * 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 9e-05/0.34, allocations: 114.2 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3401, allocations: 8.359 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.3404, allocations: 128.2 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3404, allocations: 5.078 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3404, allocations: 0 / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3404, allocations: 3.938 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.341, allocations: 397.7 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.341, allocations: 0 / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/0.3411, allocations: 23.14 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3411, allocations: 0 / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3411, allocations: 9.266 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3411, allocations: 1.438 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3411, allocations: 0 / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3415, allocations: 205.6 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3416, allocations: 91.77 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3416, allocations: 5 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3417, allocations: 11.08 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3417, allocations: 6.219 kB / 0.5375 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3417, allocations: 5.688 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3418, allocations: 122.8 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3419, allocations: 7.938 kB / 0.5376 GB, free: 7.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3421, allocations: 42.98 kB / 0.5376 GB, free: 7.402 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 (7): * Single equations (assignments): 7 * 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.002144/0.3443, allocations: 1.121 MB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3446, allocations: 82.84 kB / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3446, allocations: 0 / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3447, allocations: 50.48 kB / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3451, allocations: 14.98 kB / 0.5389 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3471, allocations: 1.588 MB / 0.5404 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3474, allocations: 0.6927 MB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.3475, allocations: 26.39 kB / 0.5411 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.3475, allocations: 34.83 kB / 0.5412 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3475, allocations: 1.375 kB / 0.5412 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.3729, allocations: 3.5 MB / 0.5446 GB, free: 2.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.169, allocations: 15.55 kB / 0.5446 GB, free: 2.336 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches