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.001444/0.001444, allocations: 122.2 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.001351/0.001351, allocations: 197.2 kB / 18.74 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.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 83.81 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3489, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003635/0.3526, allocations: 1.643 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3537, allocations: 0.6851 MB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3538, allocations: 0 / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.354, allocations: 36.55 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3543, allocations: 40.83 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.01e-06/0.3543, allocations: 0 / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3545, allocations: 35 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.3546, allocations: 6.984 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.3546, allocations: 8.281 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.3547, allocations: 19.92 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3547, allocations: 1.344 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.3548, allocations: 11.03 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.3548, allocations: 15.58 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3549, allocations: 20.56 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.355, allocations: 72.73 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.355, allocations: 0 / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3551, allocations: 0 / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3551, allocations: 0 / 0.5331 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.0004423/0.3555, allocations: 372.4 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3556, allocations: 9.719 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.3556, allocations: 45.66 kB / 0.5335 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3557, allocations: 8.172 kB / 0.5335 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3558, allocations: 175.8 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3558, allocations: 384 / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.3559, allocations: 8.078 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3561, allocations: 133.6 kB / 0.5338 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3561, allocations: 3.938 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3561, allocations: 1.781 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.3561, allocations: 22.95 kB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.3562, allocations: 42.84 kB / 0.5339 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.357, allocations: 0.8855 MB / 0.5348 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.3571, allocations: 174.5 kB / 0.5349 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.3572, allocations: 89.45 kB / 0.535 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3572, allocations: 75.28 kB / 0.5351 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.3573, allocations: 107.2 kB / 0.5352 GB, free: 9.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3573, allocations: 0 / 0.5352 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.3e-05/0.3573, allocations: 37.73 kB / 0.5352 GB, free: 9.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.3574, allocations: 126.7 kB / 0.5354 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3576, allocations: 186.2 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3576, allocations: 29.7 kB / 0.5356 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3578, allocations: 155.8 kB / 0.5357 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.3578, allocations: 5.312 kB / 0.5357 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3578, allocations: 44.78 kB / 0.5358 GB, free: 8.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.358, allocations: 321.6 kB / 0.5361 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.3581, allocations: 31.23 kB / 0.5361 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3582, allocations: 148.7 kB / 0.5362 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3584, allocations: 215.6 kB / 0.5364 GB, free: 7.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3585, allocations: 5.312 kB / 0.5365 GB, free: 7.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003186/0.3588, allocations: 201.3 kB / 0.5366 GB, free: 7.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3588, allocations: 10.86 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3588, allocations: 4.125 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3589, allocations: 6.875 kB / 0.5367 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.359, allocations: 40.73 kB / 0.5367 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.359, allocations: 9.438 kB / 0.5367 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.3591, allocations: 24.3 kB / 0.5367 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3591, allocations: 10.16 kB / 0.5367 GB, free: 7.754 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.0001992/0.3594, allocations: 217.8 kB / 0.537 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.3595, allocations: 112.9 kB / 0.5371 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.3596, allocations: 126.3 kB / 0.5372 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.371e-05/0.3596, allocations: 176.3 kB / 0.5374 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.3597, allocations: 181.6 kB / 0.5375 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/0.3598, allocations: 189.5 kB / 0.5377 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3601, allocations: 425.3 kB / 0.5381 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.3602, allocations: 104.9 kB / 0.5382 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.3602, allocations: 102.3 kB / 0.5383 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-05/0.3603, allocations: 177.6 kB / 0.5385 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.3604, allocations: 189.8 kB / 0.5387 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.099e-05/0.3605, allocations: 176.3 kB / 0.5388 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.76e-05/0.3606, allocations: 181.6 kB / 0.539 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3608, allocations: 318.2 kB / 0.5393 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3609, allocations: 188.6 kB / 0.5395 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.361, allocations: 185.5 kB / 0.5397 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.3611, allocations: 110.2 kB / 0.5398 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.3612, allocations: 177.5 kB / 0.5399 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.3612, allocations: 105 kB / 0.54 GB, free: 4.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3613, allocations: 130.3 kB / 0.5402 GB, free: 4.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3614, allocations: 0 / 0.5402 GB, free: 4.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3617, allocations: 20.06 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.0009904/0.3627, allocations: 0.905 MB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.3628, allocations: 78.44 kB / 0.5411 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3629, allocations: 0 / 0.5411 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.3629, allocations: 0 / 0.5411 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.0003914/0.3633, allocations: 466 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.001917/0.3652, allocations: 1.886 MB / 0.5434 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3655, allocations: 0.7004 MB / 0.5441 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.3657, allocations: 54.34 kB / 0.5442 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.3658, allocations: 25.86 kB / 0.5442 GB, free: 160 kB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3658, allocations: 0 / 0.5442 GB, free: 160 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3906, allocations: 2.107 MB / 0.5462 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.303, allocations: 9.266 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/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