Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 118.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.001161/0.001161, allocations: 197.2 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.4/1.4, 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.2209/0.2209, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.384, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002863/0.3869, allocations: 1.657 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.3879, allocations: 0.5485 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3879, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.3885, allocations: 457.1 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.3889, allocations: 289.1 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3893, allocations: 133.4 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3895, allocations: 170.5 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3897, allocations: 20.67 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3898, allocations: 104.4 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.39, allocations: 214.5 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3901, allocations: 3.594 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.3902, allocations: 45.06 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3903, allocations: 77.91 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.3904, allocations: 104.3 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.3907, allocations: 262.2 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3907, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3907, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.3907, allocations: 0 / 0.5345 GB, free: 10.76 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.0007326/0.3915, allocations: 0.663 MB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.3915, allocations: 13.53 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.3916, allocations: 36.22 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.3917, allocations: 47.3 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.392, allocations: 311.5 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3921, allocations: 1.5 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.3921, allocations: 6.562 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3923, allocations: 50.88 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3923, allocations: 0 / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3923, allocations: 0 / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3923, allocations: 5.109 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3925, allocations: 38.72 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.393, allocations: 386.9 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3932, allocations: 44.47 kB / 0.536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3933, allocations: 19.5 kB / 0.536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3933, allocations: 5.609 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3933, allocations: 30.56 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3933, allocations: 0 / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006218/0.394, allocations: 241.5 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.394, allocations: 52.47 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009653/0.395, allocations: 0.8726 MB / 0.5372 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.395, allocations: 29.7 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.3952, allocations: 222.6 kB / 0.5375 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3952, allocations: 21.08 kB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.3953, allocations: 18.5 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3954, allocations: 360.3 kB / 0.5378 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.3955, allocations: 18.83 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.3956, allocations: 18.27 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3958, allocations: 48.56 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3958, allocations: 0.9688 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000229/0.396, allocations: 123.7 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.396, allocations: 8.594 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.396, allocations: 1.031 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3961, allocations: 0 / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.3961, allocations: 13.92 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3961, allocations: 8.812 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3962, allocations: 7.031 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3962, allocations: 2.125 kB / 0.5381 GB, free: 7.836 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.0001977/0.3964, allocations: 214 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.3965, allocations: 41.84 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3968, allocations: 140.1 kB / 0.5385 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3968, allocations: 5.094 kB / 0.5385 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3968, allocations: 0 / 0.5385 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3969, allocations: 8.953 kB / 0.5385 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3975, allocations: 451.7 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3975, allocations: 0 / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.3975, allocations: 18.14 kB / 0.5389 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3975, allocations: 0 / 0.5389 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3976, allocations: 9.031 kB / 0.5389 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3976, allocations: 1.188 kB / 0.5389 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3976, allocations: 4 kB / 0.5389 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3978, allocations: 215.3 kB / 0.5391 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.3979, allocations: 110.8 kB / 0.5392 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.398, allocations: 3.938 kB / 0.5392 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.3981, allocations: 8.266 kB / 0.5393 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3981, allocations: 5.5 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3981, allocations: 6.75 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.3988, allocations: 0.658 MB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3988, allocations: 0.8125 kB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3991, allocations: 22.12 kB / 0.5399 GB, free: 6.508 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.001375/0.4005, allocations: 1.054 MB / 0.541 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4007, allocations: 44.28 kB / 0.541 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4007, allocations: 0 / 0.541 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.4008, allocations: 28.05 kB / 0.541 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.4012, allocations: 44.33 kB / 0.5411 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.4052, allocations: 3.245 MB / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.4057, allocations: 0.8259 MB / 0.545 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.4058, allocations: 15.97 kB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4059, allocations: 99.41 kB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4059, allocations: 0 / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.4306, allocations: 6.04 MB / 0.5511 GB, free: 12.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.51, allocations: 0.8906 kB / 0.5511 GB, free: 12.5 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches