Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 121.2 kB / 17.79 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.00151/0.00151, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 76.05 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3649, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004688/0.3696, allocations: 1.608 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.3723, allocations: 1.156 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.3724, allocations: 5.312 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3727, allocations: 23.97 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.3732, allocations: 85.73 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3736, allocations: 86.59 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3738, allocations: 67.22 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3739, allocations: 18.78 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.374, allocations: 20.92 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.3742, allocations: 38.77 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3743, allocations: 3.438 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3745, allocations: 95.91 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.3746, allocations: 16.02 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3747, allocations: 20.25 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.3751, allocations: 149.4 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3751, allocations: 1.312 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3751, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.3751, allocations: 4 kB / 0.5338 GB, free: 10.85 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.0006893/0.3758, allocations: 395.3 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3759, allocations: 10.03 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.376, allocations: 39.89 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.376, allocations: 8.203 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.3763, allocations: 197.2 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.3763, allocations: 1.594 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3764, allocations: 1.5 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3765, allocations: 68 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3766, allocations: 1.375 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3766, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3766, allocations: 5.344 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3767, allocations: 24.06 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.3772, allocations: 283.1 kB / 0.5348 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3774, allocations: 44.47 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.649e-05/0.3775, allocations: 15.22 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3776, allocations: 0 / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3776, allocations: 35.75 kB / 0.5349 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3776, allocations: 1.312 kB / 0.5349 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006987/0.3783, allocations: 152.8 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3784, allocations: 78.02 kB / 0.5351 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3786, allocations: 142.3 kB / 0.5353 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3786, allocations: 25.7 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.3787, allocations: 100.2 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3787, allocations: 21.06 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3788, allocations: 14.69 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.379, allocations: 329.6 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3791, allocations: 22.11 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.3792, allocations: 30.67 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3794, allocations: 48.2 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3794, allocations: 0 / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002469/0.3797, allocations: 79.91 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3797, allocations: 5.5 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3797, allocations: 0 / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3797, allocations: 1.375 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.3798, allocations: 17.55 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3798, allocations: 0 / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.3799, allocations: 8.062 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3799, allocations: 5.359 kB / 0.5359 GB, free: 8.75 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.0001084/0.38, allocations: 118 kB / 0.5361 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3801, allocations: 8.078 kB / 0.5361 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.3805, allocations: 88.22 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3805, allocations: 1.375 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3805, allocations: 0 / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3806, allocations: 3.938 kB / 0.5362 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.3812, allocations: 350.9 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3812, allocations: 13.31 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.3813, allocations: 9.625 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3813, allocations: 0 / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3813, allocations: 9.297 kB / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3813, allocations: 0 / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3814, allocations: 0 / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.3817, allocations: 176.4 kB / 0.5367 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3818, allocations: 90.42 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.3818, allocations: 9.312 kB / 0.5368 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3819, allocations: 2.75 kB / 0.5368 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.382, allocations: 2.75 kB / 0.5368 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.382, allocations: 5.359 kB / 0.5368 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3821, allocations: 112.9 kB / 0.5369 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3821, allocations: 0 / 0.5369 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.3826, allocations: 40.05 kB / 0.5369 GB, free: 7.801 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.002179/0.3848, allocations: 1.104 MB / 0.538 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3851, allocations: 47.59 kB / 0.5381 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3851, allocations: 0 / 0.5381 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3852, allocations: 31.81 kB / 0.5381 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.3857, allocations: 17.31 kB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.3879, allocations: 1.425 MB / 0.5395 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3884, allocations: 0.7012 MB / 0.5402 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.3885, allocations: 23.02 kB / 0.5402 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.3886, allocations: 26.08 kB / 0.5402 GB, free: 4.836 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3886, allocations: 0 / 0.5402 GB, free: 4.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4169, allocations: 3.208 MB / 0.5434 GB, free: 2.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.304, allocations: 6.016 kB / 0.5434 GB, free: 2.98 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches