Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.00164/0.00164, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001768/0.001768, allocations: 181 kB / 18.71 MB, free: 4.207 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.491/1.491, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.229/0.229, allocations: 44.18 MB / 336.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4239, allocations: 60.81 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002837/0.4268, allocations: 1.57 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.4282, allocations: 1.019 MB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.4283, allocations: 1 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.4286, allocations: 24.06 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.4288, allocations: 41.22 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.4291, allocations: 92.39 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.4292, allocations: 55.17 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4294, allocations: 11.69 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.4294, allocations: 26.86 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4296, allocations: 26.19 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.4296, allocations: 2.469 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4297, allocations: 46.84 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.4298, allocations: 16.53 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.4298, allocations: 24.62 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4301, allocations: 86.08 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4301, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4301, allocations: 1.156 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4301, allocations: 0 / 0.5214 GB, free: 1.254 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005105/0.4306, allocations: 378 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4307, allocations: 13.34 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.4307, allocations: 33.16 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4308, allocations: 8.422 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4309, allocations: 193.9 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.431, allocations: 5.375 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.431, allocations: 3.234 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4312, allocations: 69.47 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4312, allocations: 7.953 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4312, allocations: 1.094 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4312, allocations: 0 / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4313, allocations: 26.7 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.4317, allocations: 268.6 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.4319, allocations: 43.98 kB / 0.5224 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.432, allocations: 17.81 kB / 0.5224 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.432, allocations: 1.125 kB / 0.5224 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.432, allocations: 36.33 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.432, allocations: 0 / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005754/0.4326, allocations: 130.5 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4327, allocations: 83.06 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.4329, allocations: 135 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4329, allocations: 31.52 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.433, allocations: 96.77 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.433, allocations: 14.56 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4331, allocations: 15.39 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4332, allocations: 323.2 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.4333, allocations: 17.95 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.4334, allocations: 32.17 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4335, allocations: 50.94 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4336, allocations: 0 / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.4338, allocations: 80.45 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4338, allocations: 8.328 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4338, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4338, allocations: 1 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.4339, allocations: 13.28 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4339, allocations: 3.938 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.434, allocations: 9.312 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.434, allocations: 5.938 kB / 0.5235 GB, free: 15.3 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.0001034/0.4341, allocations: 113.9 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.4341, allocations: 7.797 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.4344, allocations: 93.16 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4344, allocations: 64 / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4344, allocations: 13.88 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4344, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4349, allocations: 338.5 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4349, allocations: 1.312 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.435, allocations: 15.92 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.435, allocations: 3.938 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.435, allocations: 5.703 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.435, allocations: 4.969 kB / 0.524 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4351, allocations: 0 / 0.524 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4353, allocations: 177.5 kB / 0.5242 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.4354, allocations: 82.98 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4354, allocations: 1.094 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.4355, allocations: 9.375 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4355, allocations: 3.609 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.4355, allocations: 1.703 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.4357, allocations: 107.1 kB / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4357, allocations: 1.094 kB / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.4359, allocations: 24.16 kB / 0.5244 GB, free: 14.43 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.002116/0.4381, allocations: 1.053 MB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4383, allocations: 44.91 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4383, allocations: 3.938 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.4384, allocations: 28.16 kB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4388, allocations: 18.27 kB / 0.5255 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4405, allocations: 1.381 MB / 0.5269 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4408, allocations: 0.6908 MB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.4409, allocations: 15.67 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.441, allocations: 28.34 kB / 0.5276 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.441, allocations: 0 / 0.5276 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.4676, allocations: 2.751 MB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.32, allocations: 5.359 kB / 0.5303 GB, free: 10.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches