Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",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: 122.1 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.002003/0.002003, 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.398/1.398, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.34, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003326/0.3434, allocations: 1.657 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.3443, allocations: 0.686 MB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.3444, allocations: 1.094 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.3446, allocations: 31.62 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.3448, allocations: 45.17 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.3449, allocations: 0 / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.345, allocations: 35.83 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.3451, allocations: 2.312 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.3451, allocations: 9.312 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.3452, allocations: 18.91 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3452, allocations: 5.281 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.3453, allocations: 6.75 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.3453, allocations: 16.72 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3454, allocations: 28.27 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3455, allocations: 67.48 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3455, allocations: 0 / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3455, allocations: 1.219 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.86e-06/0.3455, allocations: 0 / 0.5332 GB, free: 11.37 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004274/0.346, allocations: 372.3 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.346, allocations: 9.75 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.3461, allocations: 37.69 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.3461, allocations: 8.016 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3463, allocations: 183.8 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3463, allocations: 384 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.3464, allocations: 3.844 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3466, allocations: 123.2 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3466, allocations: 3.938 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3466, allocations: 1.5 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.3466, allocations: 26.67 kB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.3467, allocations: 47.84 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3475, allocations: 0.8817 MB / 0.5348 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3476, allocations: 170.6 kB / 0.535 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.3477, allocations: 84.08 kB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.3477, allocations: 80.78 kB / 0.5351 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/0.3478, allocations: 109.8 kB / 0.5352 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.3478, allocations: 0 / 0.5352 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.964e-05/0.3479, allocations: 45.84 kB / 0.5353 GB, free: 9.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.348, allocations: 132.1 kB / 0.5354 GB, free: 9.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3482, allocations: 185.3 kB / 0.5356 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3482, allocations: 29.64 kB / 0.5356 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3483, allocations: 151.8 kB / 0.5358 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.3483, allocations: 5.359 kB / 0.5358 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.3484, allocations: 44.8 kB / 0.5358 GB, free: 8.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3486, allocations: 321.6 kB / 0.5361 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.3487, allocations: 31.23 kB / 0.5361 GB, free: 8.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3488, allocations: 152.6 kB / 0.5363 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3491, allocations: 203.7 kB / 0.5365 GB, free: 7.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3491, allocations: 5.375 kB / 0.5365 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003854/0.3495, allocations: 205.5 kB / 0.5367 GB, free: 7.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3495, allocations: 11 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3495, allocations: 5.5 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3495, allocations: 5.5 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3496, allocations: 36.8 kB / 0.5367 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3497, allocations: 13.44 kB / 0.5368 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.3497, allocations: 28.06 kB / 0.5368 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3498, allocations: 9.625 kB / 0.5368 GB, free: 7.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001477/0.3499, allocations: 210.8 kB / 0.537 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.35, allocations: 124.9 kB / 0.5371 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.3501, allocations: 118.1 kB / 0.5372 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/0.3502, allocations: 176.3 kB / 0.5374 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.932e-05/0.3503, allocations: 185.7 kB / 0.5376 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-05/0.3504, allocations: 181.6 kB / 0.5377 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3506, allocations: 428.1 kB / 0.5381 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.474e-05/0.3507, allocations: 106.3 kB / 0.5382 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.3508, allocations: 106.4 kB / 0.5383 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.3509, allocations: 181.6 kB / 0.5385 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/0.3509, allocations: 176.3 kB / 0.5387 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.182e-05/0.351, allocations: 181.6 kB / 0.5389 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.127e-05/0.3511, allocations: 181.6 kB / 0.539 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3513, allocations: 322.5 kB / 0.5393 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.3514, allocations: 183.4 kB / 0.5395 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.3515, allocations: 189.5 kB / 0.5397 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.3516, allocations: 102.3 kB / 0.5398 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.3517, allocations: 181.6 kB / 0.54 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.3517, allocations: 110.3 kB / 0.5401 GB, free: 4.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.3519, allocations: 129.4 kB / 0.5402 GB, free: 4.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3519, allocations: 0 / 0.5402 GB, free: 4.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3521, allocations: 15.09 kB / 0.5402 GB, free: 4.109 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 (0): * Single equations (assignments): 0 * 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.0009875/0.3531, allocations: 0.9094 MB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3533, allocations: 74.72 kB / 0.5412 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3533, allocations: 1.156 kB / 0.5412 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.3533, allocations: 4.125 kB / 0.5412 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3537, allocations: 462.3 kB / 0.5416 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3555, allocations: 1.886 MB / 0.5435 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.356, allocations: 0.7004 MB / 0.5441 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.3562, allocations: 49.77 kB / 0.5442 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3563, allocations: 22.78 kB / 0.5442 GB, free: 168 kB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3563, allocations: 4 kB / 0.5442 GB, free: 164 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3812, allocations: 2.103 MB / 0.5463 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.933, allocations: 12.91 kB / 0.5463 GB, free: 14.98 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches