Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002022/0.002023, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002447/0.002448, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, 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.2138/0.2138, allocations: 46.11 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 80.08 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3445, allocations: 62.44 MB / 0.5306 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002949/0.3474, allocations: 1.661 MB / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.3484, allocations: 0.5611 MB / 0.5328 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.3485, allocations: 0 / 0.5328 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.349, allocations: 449.2 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.3495, allocations: 295.6 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3498, allocations: 137.4 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.35, allocations: 169.2 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.3501, allocations: 20.23 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3503, allocations: 110.7 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3505, allocations: 218.9 kB / 0.5341 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3506, allocations: 4.531 kB / 0.5342 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.3506, allocations: 37.52 kB / 0.5342 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3508, allocations: 82.16 kB / 0.5343 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.3509, allocations: 107.4 kB / 0.5344 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.3512, allocations: 270.7 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3512, allocations: 0 / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3512, allocations: 1.125 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3512, allocations: 0 / 0.5346 GB, free: 10.53 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.0008032/0.352, allocations: 0.6702 MB / 0.5353 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3521, allocations: 10.34 kB / 0.5353 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.3521, allocations: 38.75 kB / 0.5353 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.3522, allocations: 44 kB / 0.5354 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.3525, allocations: 303.2 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3525, allocations: 1.656 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3525, allocations: 11.25 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3527, allocations: 57.27 kB / 0.5357 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3527, allocations: 0 / 0.5357 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3527, allocations: 1.344 kB / 0.5357 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3527, allocations: 3.984 kB / 0.5357 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3529, allocations: 40.88 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3534, allocations: 392.2 kB / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3535, allocations: 42.69 kB / 0.5362 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.3536, allocations: 24 kB / 0.5362 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3536, allocations: 5.031 kB / 0.5362 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3537, allocations: 31.56 kB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3537, allocations: 0 / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008199/0.3545, allocations: 305.9 kB / 0.5365 GB, free: 8.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3545, allocations: 56.45 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.3555, allocations: 0.8756 MB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3555, allocations: 29.64 kB / 0.5375 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3557, allocations: 212.8 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3557, allocations: 30.64 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3558, allocations: 22.06 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3559, allocations: 363.8 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3561, allocations: 31.55 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3562, allocations: 35.25 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3564, allocations: 78.95 kB / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3564, allocations: 0.875 kB / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003058/0.3567, allocations: 153.5 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3567, allocations: 5.219 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3567, allocations: 0 / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3568, allocations: 0.9062 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3569, allocations: 18.48 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3569, allocations: 5.094 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.357, allocations: 14.64 kB / 0.5384 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.357, allocations: 5.125 kB / 0.5384 GB, free: 7.523 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 0.0002092/0.3572, allocations: 218.1 kB / 0.5386 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.3573, allocations: 42.34 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.3577, allocations: 170.3 kB / 0.5388 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3577, allocations: 0 / 0.5388 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3577, allocations: 1.25 kB / 0.5388 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3577, allocations: 7.938 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.3584, allocations: 499.6 kB / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3584, allocations: 1.219 kB / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.3585, allocations: 18.39 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3585, allocations: 1.125 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3585, allocations: 9.156 kB / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3585, allocations: 0 / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3585, allocations: 4 kB / 0.5393 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.3589, allocations: 245.8 kB / 0.5396 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.359, allocations: 110.7 kB / 0.5397 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.359, allocations: 7.875 kB / 0.5397 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3592, allocations: 18.86 kB / 0.5397 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3592, allocations: 6.797 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3592, allocations: 1.312 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006766/0.3599, allocations: 0.6545 MB / 0.5403 GB, free: 6.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3599, allocations: 0 / 0.5403 GB, free: 6.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3602, allocations: 24.23 kB / 0.5404 GB, free: 6.141 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.001985/0.3621, allocations: 1.08 MB / 0.5414 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3624, allocations: 74.59 kB / 0.5415 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3625, allocations: 0 / 0.5415 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3626, allocations: 49.97 kB / 0.5415 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.363, allocations: 40.88 kB / 0.5416 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.367, allocations: 3.33 MB / 0.5448 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.3675, allocations: 0.8299 MB / 0.5456 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.3675, allocations: 8.672 kB / 0.5457 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3677, allocations: 107.4 kB / 0.5458 GB, free: 1.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3677, allocations: 0 / 0.5458 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.395, allocations: 6.175 MB / 0.5518 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.542, allocations: 4.141 kB / 0.5518 GB, free: 11.64 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches