Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.8 kB / 17.77 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 183.1 kB / 18.7 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3802, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002792/0.3831, allocations: 1.58 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.3838, allocations: 408.6 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.3839, allocations: 1.281 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.3841, allocations: 73.27 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3843, allocations: 62.19 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.3846, allocations: 85.66 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3848, allocations: 73.62 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3849, allocations: 22.3 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.385, allocations: 34.23 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3851, allocations: 53.14 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3851, allocations: 3.375 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.805e-05/0.3852, allocations: 47.23 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.3853, allocations: 18.41 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3853, allocations: 34.33 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3855, allocations: 99.12 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3856, allocations: 1 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3856, allocations: 0 / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3856, allocations: 4.594 kB / 0.521 GB, free: 1.699 MB / 382.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.000489/0.3861, allocations: 411 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3861, allocations: 10.81 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.3862, allocations: 36.84 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.3862, allocations: 14.09 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3864, allocations: 192.7 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3865, allocations: 9.781 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3865, allocations: 6.625 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3867, allocations: 56.98 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3867, allocations: 0 / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3867, allocations: 5.094 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3867, allocations: 1.031 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3868, allocations: 24.72 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3872, allocations: 298.7 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3874, allocations: 42.16 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.3874, allocations: 15.06 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3875, allocations: 1.312 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3875, allocations: 36.16 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3875, allocations: 0 / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009687/0.3885, allocations: 218.1 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3885, allocations: 61.75 kB / 0.5223 GB, free: 440 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3888, allocations: 209.7 kB / 0.5225 GB, free: 300 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3888, allocations: 27.2 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.3889, allocations: 112.7 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3889, allocations: 24.77 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.389, allocations: 24.75 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3891, allocations: 322 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.3892, allocations: 22.38 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.3893, allocations: 23.75 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3895, allocations: 66.69 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3895, allocations: 0 / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002207/0.3897, allocations: 93.33 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3897, allocations: 9.625 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3897, allocations: 0 / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3898, allocations: 1.344 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3899, allocations: 16.91 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3899, allocations: 5.094 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.3899, allocations: 12.81 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.39, allocations: 2.906 kB / 0.5233 GB, free: 15.7 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 0.0001052/0.3901, allocations: 121.9 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.3901, allocations: 14.19 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.3904, allocations: 125 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3904, allocations: 2.031 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3904, allocations: 5.031 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3904, allocations: 4.609 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.391, allocations: 407.4 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.391, allocations: 5.375 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3911, allocations: 16.55 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3911, allocations: 6.734 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3911, allocations: 0.75 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3911, allocations: 1.625 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3911, allocations: 4.031 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3914, allocations: 207.3 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3915, allocations: 87.92 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3915, allocations: 2.906 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.3916, allocations: 3.875 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3916, allocations: 18.59 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3916, allocations: 3.297 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3918, allocations: 152.5 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3918, allocations: 0 / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.392, allocations: 21.84 kB / 0.5244 GB, free: 14.74 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.002123/0.3942, allocations: 1.08 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3944, allocations: 64.34 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3944, allocations: 0 / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.3945, allocations: 39.09 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3949, allocations: 25.66 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3968, allocations: 1.648 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3971, allocations: 0.7083 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.3972, allocations: 8.609 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3973, allocations: 34.48 kB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3973, allocations: 1.125 kB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.4212, allocations: 3.022 MB / 0.5309 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.336, allocations: 13.48 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches