Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4027, allocations: 62.44 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00407/0.4068, allocations: 1.596 MB / 0.5321 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4083, allocations: 0.5323 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.4083, allocations: 0 / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.4087, allocations: 29.22 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.409, allocations: 74.34 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.4094, allocations: 87.52 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4096, allocations: 65.64 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4097, allocations: 12.11 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.4098, allocations: 28.67 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.4099, allocations: 19.53 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4099, allocations: 0 / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.41, allocations: 41.09 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.4101, allocations: 14.67 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.4102, allocations: 17.38 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4104, allocations: 86.81 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4105, allocations: 3.938 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4105, allocations: 0 / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4105, allocations: 0 / 0.5331 GB, free: 11.48 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.0006668/0.4112, allocations: 388.9 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4112, allocations: 9.625 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.4113, allocations: 34.75 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4114, allocations: 13 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4117, allocations: 184.5 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4117, allocations: 5.75 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4118, allocations: 1.75 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.412, allocations: 52.61 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.412, allocations: 0 / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.412, allocations: 5.375 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4121, allocations: 3.984 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.4122, allocations: 21.67 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.4128, allocations: 282.7 kB / 0.534 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.4131, allocations: 39.06 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.4132, allocations: 15.81 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.4132, allocations: 1.375 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.4133, allocations: 38.5 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4133, allocations: 1.375 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007701/0.4141, allocations: 140.4 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.4142, allocations: 52.56 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4144, allocations: 161.5 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4145, allocations: 26.89 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.4145, allocations: 98.98 kB / 0.5346 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.4146, allocations: 14.17 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.4146, allocations: 21.88 kB / 0.5346 GB, free: 9.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.4149, allocations: 325.1 kB / 0.5349 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.415, allocations: 19.17 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.415, allocations: 18.17 kB / 0.535 GB, free: 9.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.4152, allocations: 48.45 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4152, allocations: 0 / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.4154, allocations: 88.78 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4154, allocations: 4.75 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.4155, allocations: 1.094 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4155, allocations: 0 / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.4156, allocations: 13.95 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4156, allocations: 1.156 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.4157, allocations: 6.172 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4157, allocations: 6.188 kB / 0.5351 GB, free: 9.453 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 0.0001255/0.4158, allocations: 118.4 kB / 0.5352 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.4158, allocations: 11.14 kB / 0.5352 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.4161, allocations: 93.22 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4161, allocations: 1.281 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4162, allocations: 0 / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4162, allocations: 1.312 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.4167, allocations: 346.5 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4167, allocations: 0 / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.4167, allocations: 13.2 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4168, allocations: 1.156 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4168, allocations: 1.25 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4168, allocations: 4.125 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4168, allocations: 3.938 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4171, allocations: 180.2 kB / 0.5359 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.4171, allocations: 91.08 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.4172, allocations: 1 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.4172, allocations: 6.906 kB / 0.5359 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.4173, allocations: 10.17 kB / 0.536 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4173, allocations: 0.7188 kB / 0.536 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.4174, allocations: 118 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4174, allocations: 0 / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.4177, allocations: 17.83 kB / 0.5361 GB, free: 8.516 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.00159/0.4193, allocations: 1.003 MB / 0.5371 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4195, allocations: 47.47 kB / 0.5371 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4195, allocations: 0 / 0.5371 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.4196, allocations: 32.41 kB / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4201, allocations: 25.55 kB / 0.5372 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4219, allocations: 1.437 MB / 0.5386 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4222, allocations: 0.6942 MB / 0.5393 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.4222, allocations: 13.31 kB / 0.5393 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.4223, allocations: 31.77 kB / 0.5393 GB, free: 5.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4223, allocations: 0.9375 kB / 0.5393 GB, free: 5.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.444, allocations: 2.531 MB / 0.5418 GB, free: 4.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.203, allocations: 2.031 kB / 0.5418 GB, free: 4.156 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_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_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches