Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 202 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.382/1.382, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.12 MB / 344.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 80.09 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002865/0.3254, allocations: 1.66 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3273, allocations: 1.173 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.3273, allocations: 1.094 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.3275, allocations: 19.39 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3279, allocations: 90.33 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3282, allocations: 132.9 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3284, allocations: 76.22 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3285, allocations: 12.75 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.3285, allocations: 35.06 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3287, allocations: 39.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3287, allocations: 3.875 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3289, allocations: 100.8 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.329, allocations: 17.42 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.329, allocations: 33.14 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3293, allocations: 148.4 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3293, allocations: 1.375 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3293, allocations: 0 / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3293, allocations: 0 / 0.5341 GB, free: 10.69 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.0006213/0.33, allocations: 426.2 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.33, allocations: 13.61 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.3301, allocations: 36.12 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3301, allocations: 9.016 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.3303, allocations: 200 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3304, allocations: 9.734 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3304, allocations: 7.078 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3306, allocations: 77.19 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3306, allocations: 0 / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3306, allocations: 5.359 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3306, allocations: 0 / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3308, allocations: 36.59 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3312, allocations: 301.5 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3313, allocations: 47.06 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.3314, allocations: 23.94 kB / 0.5352 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3314, allocations: 5.375 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.3315, allocations: 30.56 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3315, allocations: 1.375 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007604/0.3322, allocations: 206.9 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.3323, allocations: 86.47 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3325, allocations: 157.7 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3325, allocations: 25.7 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.3326, allocations: 100.2 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3326, allocations: 26.5 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.3327, allocations: 28.52 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3329, allocations: 316.2 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.333, allocations: 35.22 kB / 0.5362 GB, free: 8.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3331, allocations: 50.3 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3333, allocations: 77.34 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3333, allocations: 0 / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002897/0.3336, allocations: 110.8 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3337, allocations: 5.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3337, allocations: 7.875 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3337, allocations: 1.125 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3338, allocations: 23.3 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3338, allocations: 0 / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.3339, allocations: 22.48 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3339, allocations: 1.25 kB / 0.5365 GB, free: 8.426 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 9.8e-05/0.334, allocations: 119.1 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3341, allocations: 8.922 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.3344, allocations: 123.4 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3344, allocations: 1.094 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3344, allocations: 4 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3345, allocations: 3.938 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.335, allocations: 394.3 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.335, allocations: 0 / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.36e-05/0.3351, allocations: 18.7 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3351, allocations: 1.156 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3351, allocations: 11.88 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3352, allocations: 5.188 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3352, allocations: 80 / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.3355, allocations: 210.3 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.3356, allocations: 84.5 kB / 0.5374 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3356, allocations: 9.062 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.3357, allocations: 13.64 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3358, allocations: 11.56 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3358, allocations: 6 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3359, allocations: 122.6 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3359, allocations: 0 / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3362, allocations: 42.16 kB / 0.5376 GB, free: 7.406 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.002244/0.3384, allocations: 1.125 MB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.3387, allocations: 82.95 kB / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3388, allocations: 0 / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3389, allocations: 53.39 kB / 0.5389 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3392, allocations: 15.03 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.002092/0.3413, allocations: 1.596 MB / 0.5404 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3417, allocations: 0.6927 MB / 0.5411 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.3418, allocations: 17.75 kB / 0.5411 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.3419, allocations: 31.48 kB / 0.5412 GB, free: 4.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3419, allocations: 4 kB / 0.5412 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3681, allocations: 3.498 MB / 0.5446 GB, free: 2.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.252, allocations: 13.28 kB / 0.5446 GB, free: 2.34 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches