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.001134/0.001134, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 199.9 kB / 18.73 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.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3886, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.005089/0.3938, allocations: 1.666 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3965, allocations: 1.166 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3966, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3969, allocations: 24.06 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3975, allocations: 93.86 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.398, allocations: 137.8 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3983, allocations: 73.19 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3984, allocations: 10.88 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.3985, allocations: 34.8 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.3987, allocations: 36.2 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3988, allocations: 4.125 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.3991, allocations: 109.5 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.3992, allocations: 20.05 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3993, allocations: 22.75 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.3997, allocations: 148.8 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3997, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3997, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3997, allocations: 0 / 0.534 GB, free: 10.76 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.0007545/0.4005, allocations: 423.6 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4005, allocations: 9.625 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.4006, allocations: 51.98 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.4007, allocations: 7.641 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.401, allocations: 197.9 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.401, allocations: 5.75 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.401, allocations: 5.703 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.4013, allocations: 73.2 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4013, allocations: 1.375 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4013, allocations: 0 / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4014, allocations: 5.375 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.4015, allocations: 44.52 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.402, allocations: 288.2 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.4022, allocations: 51.05 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4023, allocations: 27.94 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.4024, allocations: 1.375 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4024, allocations: 35.88 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.4024, allocations: 0 / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00105/0.4035, allocations: 219.9 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.4036, allocations: 78.55 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.4038, allocations: 154.8 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4038, allocations: 27.33 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4039, allocations: 100.3 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.404, allocations: 26 kB / 0.5357 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.4041, allocations: 22.7 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4042, allocations: 325.2 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.4044, allocations: 34.38 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4046, allocations: 43 kB / 0.5361 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4049, allocations: 80.98 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4049, allocations: 0 / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004001/0.4053, allocations: 114.6 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4053, allocations: 5.812 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4053, allocations: 0 / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4054, allocations: 1.188 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.4055, allocations: 18.83 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4056, allocations: 0 / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4057, allocations: 22.89 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4057, allocations: 1.5 kB / 0.5364 GB, free: 8.504 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.0001235/0.4058, allocations: 115.5 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4059, allocations: 11.44 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.4064, allocations: 128.9 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4064, allocations: 4 kB / 0.5366 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4064, allocations: 5.344 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4064, allocations: 3.938 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.4072, allocations: 397.3 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4072, allocations: 3.984 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.4074, allocations: 23.05 kB / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4074, allocations: 4 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4074, allocations: 5.312 kB / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4074, allocations: 0 / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4074, allocations: 1.375 kB / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.4079, allocations: 202 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.408, allocations: 87.61 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4081, allocations: 13.5 kB / 0.5373 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4082, allocations: 10.48 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4083, allocations: 2.5 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4083, allocations: 5.391 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4085, allocations: 123 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4085, allocations: 0 / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004843/0.409, allocations: 46.52 kB / 0.5375 GB, free: 7.48 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.002369/0.4113, allocations: 1.122 MB / 0.5386 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.4118, allocations: 87.8 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4118, allocations: 7.938 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.412, allocations: 37.34 kB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.4125, allocations: 19.8 kB / 0.5388 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.4157, allocations: 1.589 MB / 0.5403 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.4161, allocations: 0.6957 MB / 0.541 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.4162, allocations: 14.09 kB / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4164, allocations: 39.06 kB / 0.541 GB, free: 4.402 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4164, allocations: 0 / 0.541 GB, free: 4.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.4452, allocations: 3.496 MB / 0.5445 GB, free: 2.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.166, allocations: 10.19 kB / 0.5445 GB, free: 2.422 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/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