Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.13 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3864, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.005048/0.3915, allocations: 1.654 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3935, allocations: 0.5386 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.3936, allocations: 3.938 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.3941, allocations: 98.98 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.3947, allocations: 114.3 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.3952, allocations: 92.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.3955, allocations: 98.72 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3957, allocations: 26.44 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.3958, allocations: 42.52 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.396, allocations: 65.8 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3961, allocations: 4.125 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.3963, allocations: 46.23 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.3964, allocations: 25.55 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.3965, allocations: 43.86 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.3969, allocations: 131.1 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3969, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3969, allocations: 4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.397, allocations: 0 / 0.5335 GB, free: 11.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008993/0.3979, allocations: 434.3 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.3979, allocations: 9.625 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.398, allocations: 40.11 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.3981, allocations: 15.72 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.3985, allocations: 209.8 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3985, allocations: 1.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.3986, allocations: 16.38 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.3989, allocations: 72.8 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3989, allocations: 5.328 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3989, allocations: 4 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3989, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3992, allocations: 43.33 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.3999, allocations: 324.6 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.4001, allocations: 66.05 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4002, allocations: 22.48 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4003, allocations: 1.375 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.4003, allocations: 35.92 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 4.799e-06/0.4004, allocations: 3.984 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001778/0.4021, allocations: 313 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.4022, allocations: 57.92 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4027, allocations: 243 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.4028, allocations: 29.7 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4029, allocations: 114.9 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.403, allocations: 45.17 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.4031, allocations: 26.56 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.4033, allocations: 327.3 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4035, allocations: 39.94 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.4037, allocations: 36.27 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.4041, allocations: 89.05 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4041, allocations: 5.062 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000505/0.4046, allocations: 143.3 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4046, allocations: 4.719 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4047, allocations: 0 / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.4047, allocations: 5.281 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.4049, allocations: 24.8 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.405, allocations: 1.375 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.4051, allocations: 6.812 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.4051, allocations: 7.438 kB / 0.5362 GB, free: 8.801 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 (13): * Single equations (assignments): 13 * 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.0001969/0.4053, allocations: 134.7 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.4054, allocations: 15.41 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.406, allocations: 162.6 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.406, allocations: 1.188 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4061, allocations: 1.312 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4061, allocations: 0 / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4071, allocations: 490.2 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4071, allocations: 4.75 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4073, allocations: 24.77 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4073, allocations: 4.953 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4073, allocations: 10.03 kB / 0.537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4073, allocations: 1.438 kB / 0.537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4073, allocations: 0 / 0.537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.4077, allocations: 251.4 kB / 0.5373 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.4078, allocations: 92.16 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.4078, allocations: 2.156 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4079, allocations: 11.19 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4079, allocations: 8.516 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.408, allocations: 8.438 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.4081, allocations: 182.7 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4081, allocations: 0 / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.4085, allocations: 21.97 kB / 0.5376 GB, free: 7.66 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 (13): * Single equations (assignments): 13 * 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.002263/0.4108, allocations: 1.127 MB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.411, allocations: 97.8 kB / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4111, allocations: 0 / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4112, allocations: 56.31 kB / 0.5388 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.4116, allocations: 24.02 kB / 0.5389 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.414, allocations: 1.844 MB / 0.5407 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4144, allocations: 0.7172 MB / 0.5414 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.023e-05/0.4145, allocations: 20.12 kB / 0.5414 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.4146, allocations: 39.36 kB / 0.5414 GB, free: 4.434 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4146, allocations: 5.156 kB / 0.5414 GB, free: 4.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.4391, allocations: 3.521 MB / 0.5449 GB, free: 2.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.437, allocations: 13.03 kB / 0.5449 GB, free: 2.527 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches