Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001788/0.001788, allocations: 121.6 kB / 17.78 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.001968/0.001968, allocations: 203.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.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3918, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003078/0.3949, allocations: 1.6 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.396, allocations: 0.5249 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.3961, allocations: 3.938 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3964, allocations: 36.05 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.3967, allocations: 76.09 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.397, allocations: 92.41 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3971, allocations: 61.38 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3973, allocations: 14.38 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.3973, allocations: 21.09 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.3974, allocations: 21.11 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3974, allocations: 7.938 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.3975, allocations: 35.73 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.3976, allocations: 22.06 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.3976, allocations: 23.03 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3978, allocations: 81.55 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3978, allocations: 1.375 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3978, allocations: 0 / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3978, allocations: 0 / 0.5331 GB, free: 11.42 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.0005282/0.3984, allocations: 398.2 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3984, allocations: 13.62 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.3985, allocations: 36.11 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3985, allocations: 12.97 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3987, allocations: 194.4 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3987, allocations: 9.438 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3988, allocations: 9.312 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3989, allocations: 43.31 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3989, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3989, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.399, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.3991, allocations: 24.36 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.3994, allocations: 276.1 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3996, allocations: 48.38 kB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.3997, allocations: 11.73 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3997, allocations: 0 / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3998, allocations: 36.03 kB / 0.5341 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3998, allocations: 0 / 0.5341 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.4003, allocations: 149.9 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.4004, allocations: 52.78 kB / 0.5343 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4006, allocations: 179.9 kB / 0.5345 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4006, allocations: 29.7 kB / 0.5345 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.4007, allocations: 104.2 kB / 0.5346 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.4008, allocations: 14.64 kB / 0.5347 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4008, allocations: 21.83 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4009, allocations: 317.6 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.401, allocations: 18.98 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.4011, allocations: 18.67 kB / 0.535 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4012, allocations: 55.8 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4012, allocations: 0 / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.4014, allocations: 85 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4014, allocations: 5.156 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4015, allocations: 1.281 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4015, allocations: 288 / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.4015, allocations: 13.38 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4016, allocations: 8.969 kB / 0.5352 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.4016, allocations: 6.547 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4016, allocations: 1.906 kB / 0.5352 GB, free: 9.363 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.0001008/0.4017, allocations: 120.5 kB / 0.5353 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.4018, allocations: 16.33 kB / 0.5353 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.402, allocations: 89.47 kB / 0.5354 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.402, allocations: 1.188 kB / 0.5354 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.402, allocations: 8.875 kB / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4021, allocations: 0 / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.4025, allocations: 344.3 kB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4025, allocations: 1.094 kB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.4026, allocations: 12.91 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4026, allocations: 8.969 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.4026, allocations: 5.047 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4026, allocations: 192 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4026, allocations: 5.188 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.4029, allocations: 175.8 kB / 0.5359 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.403, allocations: 87.39 kB / 0.536 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.403, allocations: 9.078 kB / 0.536 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.4031, allocations: 2.25 kB / 0.536 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4031, allocations: 6.094 kB / 0.536 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4031, allocations: 6.312 kB / 0.536 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4033, allocations: 143.8 kB / 0.5362 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4033, allocations: 0 / 0.5362 GB, free: 8.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.4036, allocations: 18.44 kB / 0.5362 GB, free: 8.406 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.001343/0.405, allocations: 1.006 MB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4052, allocations: 46.78 kB / 0.5372 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4052, allocations: 1.125 kB / 0.5372 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.4053, allocations: 23.36 kB / 0.5372 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4057, allocations: 18.2 kB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4074, allocations: 1.498 MB / 0.5387 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.4077, allocations: 0.6928 MB / 0.5394 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.4078, allocations: 17.45 kB / 0.5394 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.4078, allocations: 27.64 kB / 0.5394 GB, free: 5.473 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4078, allocations: 1.094 kB / 0.5394 GB, free: 5.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.4313, allocations: 2.645 MB / 0.542 GB, free: 3.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.367, allocations: 15.12 kB / 0.542 GB, free: 3.98 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_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_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches