Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002447/0.002447, allocations: 204.7 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.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.39, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00378/0.3938, allocations: 1.676 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3949, allocations: 0.5591 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.3949, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3952, allocations: 49.67 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.3955, allocations: 90.27 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.3958, allocations: 139.5 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.396, allocations: 74.2 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3961, allocations: 25.83 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.3962, allocations: 29.61 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3964, allocations: 57.62 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3964, allocations: 4.125 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3966, allocations: 49.55 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.3966, allocations: 22.84 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3967, allocations: 34.09 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.397, allocations: 113.3 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.397, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.397, allocations: 1.562 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.397, allocations: 0 / 0.5334 GB, free: 11.26 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007304/0.3977, allocations: 434.2 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.3978, allocations: 10.19 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.3979, allocations: 36.03 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.3979, allocations: 9.641 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3981, allocations: 194.7 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3982, allocations: 6.875 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3982, allocations: 6.891 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3984, allocations: 70.59 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3984, allocations: 1.281 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.3984, allocations: 4 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3984, allocations: 1.344 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3986, allocations: 42.64 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.399, allocations: 306 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3992, allocations: 55.39 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.3993, allocations: 29.16 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3993, allocations: 0 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3994, allocations: 35.66 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.3994, allocations: 1.188 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001365/0.4007, allocations: 397.7 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4008, allocations: 52.78 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.401, allocations: 190.4 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.401, allocations: 29.64 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.4011, allocations: 101.6 kB / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4011, allocations: 43.75 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.4011, allocations: 21.97 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4013, allocations: 325.6 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4014, allocations: 43.41 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4015, allocations: 44.72 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.4017, allocations: 99.67 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4017, allocations: 4 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002949/0.402, allocations: 150.4 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4021, allocations: 5.469 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4021, allocations: 3.938 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4021, allocations: 5.125 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4022, allocations: 32.78 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4022, allocations: 0 / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.4023, allocations: 14.45 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4023, allocations: 3.219 kB / 0.5361 GB, free: 8.902 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 (11): * Single equations (assignments): 11 * 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.867e-05/0.4024, allocations: 121.3 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.4025, allocations: 14.31 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4028, allocations: 165.7 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4029, allocations: 9.219 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4029, allocations: 4 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4029, allocations: 0 / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.4035, allocations: 476.4 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4036, allocations: 0 / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4037, allocations: 29.36 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4037, allocations: 1.031 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4037, allocations: 6.406 kB / 0.5369 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4037, allocations: 1.125 kB / 0.5369 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4037, allocations: 1.188 kB / 0.5369 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.4041, allocations: 255.1 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.4041, allocations: 92.36 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.4042, allocations: 2.375 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4043, allocations: 9.734 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.4043, allocations: 13.5 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4044, allocations: 7.578 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4045, allocations: 136.2 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4045, allocations: 4 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4048, allocations: 25.03 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00161/0.4064, allocations: 1.136 MB / 0.5385 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.4067, allocations: 114.1 kB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4067, allocations: 0 / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.4069, allocations: 59.16 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4073, allocations: 19.2 kB / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4095, allocations: 1.804 MB / 0.5404 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4097, allocations: 0.7105 MB / 0.5411 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.641e-05/0.4098, allocations: 23.11 kB / 0.5412 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.4099, allocations: 35.33 kB / 0.5412 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4099, allocations: 4 kB / 0.5412 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4288, allocations: 3.299 MB / 0.5444 GB, free: 2.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.786, allocations: 9.047 kB / 0.5444 GB, free: 2.727 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches