Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",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.001438/0.001438, allocations: 96.86 kB / 17.58 MB, free: 5.418 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.002555/0.002555, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.695/2.695, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 55.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1679, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.005334/0.1733, allocations: 1.186 MB / 328.6 MB, free: 3.188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.1788, allocations: 2.006 MB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.1789, allocations: 0 / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.179, allocations: 0 / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.1816, allocations: 430.6 kB / 331 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.553e-05/0.1816, allocations: 7.984 kB / 331 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.1817, allocations: 8 kB / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.1818, allocations: 3.938 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.1818, allocations: 4 kB / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.1823, allocations: 11.92 kB / 331 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1824, allocations: 4 kB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1836, allocations: 431.5 kB / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1836, allocations: 0 / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1836, allocations: 4 kB / 331.4 MB, free: 288 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1847, allocations: 339.4 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1847, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1847, allocations: 4 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1848, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001014/0.1858, allocations: 403.7 kB / 332.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.661e-05/0.1859, allocations: 12.03 kB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.186, allocations: 114 kB / 332.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.1862, allocations: 76.22 kB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1866, allocations: 251.6 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1867, allocations: 150.9 kB / 332.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1868, allocations: 154.5 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.187, allocations: 108.9 kB / 333 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.187, allocations: 75.28 kB / 333.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.1871, allocations: 154.6 kB / 333.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.1873, allocations: 154.5 kB / 333.4 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.1874, allocations: 150.6 kB / 333.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1878, allocations: 446 kB / 334 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.188, allocations: 177 kB / 334.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.188, allocations: 80.14 kB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.1881, allocations: 79.27 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.1884, allocations: 51.41 kB / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 5.03e-06/0.1884, allocations: 0 / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.1886, allocations: 37.62 kB / 334.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1887, allocations: 55.41 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1888, allocations: 97.86 kB / 334.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1889, allocations: 25.7 kB / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1889, allocations: 80.14 kB / 334.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.189, allocations: 11.84 kB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.189, allocations: 21.83 kB / 334.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1892, allocations: 310.8 kB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.1892, allocations: 0 / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.1893, allocations: 4 kB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.1893, allocations: 4.859 kB / 335 MB, free: 12.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1893, allocations: 3.938 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001005/0.1894, allocations: 45.58 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1895, allocations: 7.984 kB / 335.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1895, allocations: 4.094 kB / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1895, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.862e-05/0.1895, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1896, allocations: 4 kB / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.1896, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1896, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001362/0.1898, allocations: 109.8 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.1898, allocations: 0 / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1899, allocations: 11.08 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1899, allocations: 4 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1899, allocations: 0 / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1899, allocations: 3.984 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1901, allocations: 153.6 kB / 335.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1901, allocations: 0 / 335.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.1901, allocations: 0 / 335.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1901, allocations: 3.984 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1902, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1902, allocations: 4 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1902, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1903, allocations: 69.02 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1904, allocations: 77.11 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1904, allocations: 3.984 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.1904, allocations: 4 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.1905, allocations: 0 / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1905, allocations: 0 / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.119e-05/0.1906, allocations: 79.28 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1906, allocations: 0 / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008046/0.1914, allocations: 135.9 kB / 335.7 MB, free: 11.67 MB / 286.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.002231/0.1936, allocations: 0.9679 MB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1938, allocations: 0 / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1938, allocations: 8.062 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.1938, allocations: 0 / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1941, allocations: 8 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1962, allocations: 1.139 MB / 337.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1966, allocations: 0.6729 MB / 338.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.1966, allocations: 11.94 kB / 338.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.1967, allocations: 15.42 kB / 338.5 MB, free: 8.73 MB / 286.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1967, allocations: 4 kB / 338.5 MB, free: 8.727 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04449/0.2413, allocations: 3.88 MB / 342.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.59, allocations: 15.75 kB / 342.4 MB, free: 4.766 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches