Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, 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.002048/0.002048, allocations: 205.2 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.46/1.46, allocations: 227.4 MB / 246.9 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.231/0.231, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3957, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002825/0.3985, allocations: 1.597 MB / 0.5321 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.3995, allocations: 0.5309 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.3995, allocations: 1.312 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.3997, allocations: 28.66 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.4, allocations: 71.92 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.4003, allocations: 94.88 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.4004, allocations: 62.7 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.4005, allocations: 9.297 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.4005, allocations: 24.86 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.4006, allocations: 19.03 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4006, allocations: 5.719 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.4007, allocations: 43.97 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.4007, allocations: 16.39 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.4008, allocations: 20.41 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.4009, allocations: 79.55 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.401, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.401, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.401, allocations: 0 / 0.5331 GB, free: 11.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004576/0.4014, allocations: 388.6 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4015, allocations: 9.594 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.4015, allocations: 38.69 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.4016, allocations: 13.78 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.4017, allocations: 185 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4018, allocations: 4.375 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4018, allocations: 2.562 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4019, allocations: 52.36 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.402, allocations: 3.984 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.402, allocations: 4 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.402, allocations: 1.375 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.4021, allocations: 20.36 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.4024, allocations: 284 kB / 0.534 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4027, allocations: 39.06 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.4027, allocations: 15.81 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4027, allocations: 4 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4028, allocations: 31.94 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4028, allocations: 0 / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005237/0.4033, allocations: 141.9 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.4034, allocations: 56.72 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4035, allocations: 157.3 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4035, allocations: 25.7 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.4036, allocations: 100.2 kB / 0.5346 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.4036, allocations: 22.59 kB / 0.5346 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.4037, allocations: 17.84 kB / 0.5346 GB, free: 9.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4038, allocations: 324.1 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.4039, allocations: 18.98 kB / 0.5349 GB, free: 9.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.4039, allocations: 18.98 kB / 0.535 GB, free: 9.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4041, allocations: 48.39 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4041, allocations: 0 / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.4042, allocations: 83.88 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4043, allocations: 5.5 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4043, allocations: 1.375 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4043, allocations: 0 / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.4044, allocations: 17.55 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4044, allocations: 3.938 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.4044, allocations: 8.109 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4044, allocations: 5.312 kB / 0.5351 GB, free: 9.441 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 (5): * Single equations (assignments): 5 * 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 8.725e-05/0.4045, allocations: 118 kB / 0.5352 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4046, allocations: 8.078 kB / 0.5352 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4048, allocations: 90.09 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4048, allocations: 0 / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4048, allocations: 0 / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4048, allocations: 1.625 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.4052, allocations: 349 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4052, allocations: 1.156 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.4053, allocations: 13.11 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4053, allocations: 1.25 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4053, allocations: 4 kB / 0.5357 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4053, allocations: 5 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4053, allocations: 192 / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4055, allocations: 184.7 kB / 0.5359 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.4056, allocations: 86.48 kB / 0.5359 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4056, allocations: 1.281 kB / 0.5359 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.4057, allocations: 10.16 kB / 0.536 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.4057, allocations: 6.359 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4057, allocations: 1.594 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.4058, allocations: 117 kB / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4058, allocations: 0 / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.4061, allocations: 21.86 kB / 0.5361 GB, free: 8.504 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 (5): * Single equations (assignments): 5 * 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.001222/0.4073, allocations: 1.01 MB / 0.5371 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4075, allocations: 47.16 kB / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4075, allocations: 1.281 kB / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.4076, allocations: 27.34 kB / 0.5372 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4079, allocations: 17.3 kB / 0.5372 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.4094, allocations: 1.447 MB / 0.5386 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4097, allocations: 0.6948 MB / 0.5393 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.4098, allocations: 8.969 kB / 0.5393 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.4098, allocations: 27.52 kB / 0.5393 GB, free: 5.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4098, allocations: 1.562 kB / 0.5393 GB, free: 5.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.4297, allocations: 2.53 MB / 0.5418 GB, free: 4.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.024, allocations: 4.875 kB / 0.5418 GB, free: 4.148 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches