Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001461/0.001461, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001605/0.001605, allocations: 180.9 kB / 18.7 MB, free: 4.469 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.471/1.471, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2529/0.2529, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4178, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002639/0.4204, allocations: 1.55 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4218, allocations: 1.02 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.4219, allocations: 1.156 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.4221, allocations: 23.48 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.4223, allocations: 46.88 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.4226, allocations: 83.59 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.4227, allocations: 55.61 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.4228, allocations: 11.09 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.4229, allocations: 27.2 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.423, allocations: 25.91 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.423, allocations: 7.062 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.4231, allocations: 49.77 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.4232, allocations: 12.97 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.4232, allocations: 21.5 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.4234, allocations: 88.69 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4234, allocations: 1.094 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4234, allocations: 0 / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4234, allocations: 0.5156 kB / 0.5214 GB, free: 1.277 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.0004057/0.4239, allocations: 373.9 kB / 0.5217 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4239, allocations: 17.56 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.4239, allocations: 37.61 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.424, allocations: 8.859 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4241, allocations: 185 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4241, allocations: 1.625 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4242, allocations: 6.469 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4243, allocations: 72.94 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4243, allocations: 5.047 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4244, allocations: 4.797 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4244, allocations: 1.219 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.4245, allocations: 21.67 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.4248, allocations: 268.6 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.425, allocations: 44.53 kB / 0.5224 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.425, allocations: 18.12 kB / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4251, allocations: 0 / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.4251, allocations: 36.41 kB / 0.5224 GB, free: 188 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4251, allocations: 1.125 kB / 0.5224 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000519/0.4256, allocations: 133.5 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4257, allocations: 79.02 kB / 0.5226 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4258, allocations: 148.2 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4259, allocations: 25.7 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.4259, allocations: 96.98 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.426, allocations: 11.72 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.426, allocations: 23.38 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4261, allocations: 323.4 kB / 0.5232 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.4262, allocations: 13.41 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.4263, allocations: 43.52 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4264, allocations: 43.22 kB / 0.5233 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4265, allocations: 0 / 0.5233 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.4266, allocations: 76.41 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4267, allocations: 5.781 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4267, allocations: 0 / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4267, allocations: 5.844 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.4268, allocations: 15.31 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4268, allocations: 5.375 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.4268, allocations: 4.891 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4268, allocations: 9.25 kB / 0.5235 GB, free: 15.32 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 9.218e-05/0.4269, allocations: 114.8 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.427, allocations: 7.797 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.4272, allocations: 96.28 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4272, allocations: 1.062 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4272, allocations: 0 / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4273, allocations: 0.7969 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.4277, allocations: 347.1 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4277, allocations: 0.75 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.4278, allocations: 12.69 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4278, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.4278, allocations: 5.094 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4278, allocations: 4.547 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4278, allocations: 1.344 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.428, allocations: 176.2 kB / 0.5242 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.4281, allocations: 83.16 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4281, allocations: 1.75 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.4282, allocations: 17.61 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.4282, allocations: 3.688 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4283, allocations: 1.062 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.4284, allocations: 103.4 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4284, allocations: 1.156 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.4286, allocations: 24.25 kB / 0.5244 GB, free: 14.45 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.002035/0.4307, allocations: 1.052 MB / 0.5254 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4309, allocations: 52.09 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4309, allocations: 0 / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.431, allocations: 25.03 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4313, allocations: 19.86 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.433, allocations: 1.384 MB / 0.5269 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4334, allocations: 0.6947 MB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.4334, allocations: 12.36 kB / 0.5276 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.4335, allocations: 25.64 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4335, allocations: 0 / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.461, allocations: 2.742 MB / 0.5303 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.231, allocations: 8.594 kB / 0.5303 GB, free: 10.53 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_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_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches