Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 118.8 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.00123/0.00123, allocations: 198 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.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 87.73 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003001/0.3818, allocations: 1.624 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.3828, allocations: 0.5359 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.3829, allocations: 0 / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.3831, allocations: 96.39 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3834, allocations: 107.1 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3837, allocations: 94.91 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3839, allocations: 85.02 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.384, allocations: 16.84 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3841, allocations: 36.98 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3842, allocations: 51.14 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3842, allocations: 3.969 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.3843, allocations: 52.56 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.3844, allocations: 23.7 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.3844, allocations: 34.31 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3846, allocations: 114.8 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3846, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3846, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3846, allocations: 1.281 kB / 0.5333 GB, free: 11.34 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.0005008/0.3851, allocations: 424.3 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3852, allocations: 9.875 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.3852, allocations: 36.09 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3853, allocations: 14.16 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3855, allocations: 201.2 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3855, allocations: 1.656 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3855, allocations: 10.48 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3857, allocations: 54.67 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3857, allocations: 7.984 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3857, allocations: 4 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3857, allocations: 2.125 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.3858, allocations: 23.3 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.3862, allocations: 304.2 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3863, allocations: 46.56 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3864, allocations: 20.73 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3864, allocations: 3.984 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3864, allocations: 35.91 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3864, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000885/0.3873, allocations: 235 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3874, allocations: 52.78 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3876, allocations: 229.6 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3876, allocations: 25.7 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3877, allocations: 110.9 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3877, allocations: 26.5 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3878, allocations: 24.58 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3879, allocations: 331 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.388, allocations: 21.73 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.3881, allocations: 21.73 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3882, allocations: 64.52 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3882, allocations: 0 / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002115/0.3884, allocations: 112.1 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3885, allocations: 5.5 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3885, allocations: 0 / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3885, allocations: 1.375 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3886, allocations: 21.73 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3886, allocations: 3.938 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.3887, allocations: 8.125 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3887, allocations: 1.375 kB / 0.5357 GB, free: 9.129 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 (8): * Single equations (assignments): 8 * 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.478e-05/0.3888, allocations: 126.2 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3888, allocations: 13.45 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.3891, allocations: 125 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3891, allocations: 1.188 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3892, allocations: 3.938 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3892, allocations: 1.25 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3897, allocations: 411.8 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3897, allocations: 1.062 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3898, allocations: 21.98 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3898, allocations: 0.8125 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3898, allocations: 0.9062 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3898, allocations: 1.031 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3898, allocations: 5.141 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3901, allocations: 213.9 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.3902, allocations: 91.62 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3902, allocations: 5.219 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3903, allocations: 3.25 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3903, allocations: 15.19 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3903, allocations: 2.281 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3905, allocations: 188 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3905, allocations: 4 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3908, allocations: 18.73 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001582/0.3923, allocations: 1.083 MB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3926, allocations: 66.95 kB / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3926, allocations: 0 / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.3927, allocations: 37.73 kB / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3931, allocations: 25.39 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3951, allocations: 1.715 MB / 0.5398 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3954, allocations: 0.7092 MB / 0.5405 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.3955, allocations: 20.42 kB / 0.5405 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.3955, allocations: 37.52 kB / 0.5405 GB, free: 4.941 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3956, allocations: 0 / 0.5405 GB, free: 4.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.4169, allocations: 3.183 MB / 0.5436 GB, free: 3.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.172, allocations: 6.047 kB / 0.5436 GB, free: 3.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_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_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches