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.001424/0.001424, allocations: 109.3 kB / 17.73 MB, free: 5.34 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.001112/0.001112, allocations: 184.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001308/0.001308, allocations: 51.92 kB / 328 MB, free: 3.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 46.62 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.003455/0.1282, allocations: 1.186 MB / 375.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.1332, allocations: 2.01 MB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1333, allocations: 0 / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.1334, allocations: 0 / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1356, allocations: 442.6 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.1357, allocations: 4 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.1357, allocations: 11.94 kB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1358, allocations: 3.984 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.436e-05/0.1359, allocations: 4 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1361, allocations: 15.86 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1362, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.1374, allocations: 475.5 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.1374, allocations: 3.984 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1374, allocations: 4 kB / 378.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.1383, allocations: 339.2 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1383, allocations: 0 / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1383, allocations: 3.984 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1384, allocations: 0 / 379.1 MB, free: 0.6211 MB / 318.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.0007267/0.1391, allocations: 410.6 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1392, allocations: 11.97 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.136e-05/0.1392, allocations: 110 kB / 379.6 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1947/0.334, allocations: 80.22 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3342, allocations: 236.2 kB / 379.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3342, allocations: 155.9 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.3343, allocations: 153.2 kB / 380.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.55e-05/0.3343, allocations: 103.5 kB / 380.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3343, allocations: 75.28 kB / 380.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3344, allocations: 154.2 kB / 380.5 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.3344, allocations: 155.2 kB / 380.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.3344, allocations: 157.8 kB / 380.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.3346, allocations: 446.8 kB / 381.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.3347, allocations: 169.8 kB / 381.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.3347, allocations: 80.64 kB / 381.5 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3348, allocations: 79.91 kB / 381.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.3349, allocations: 48.89 kB / 381.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.915e-06/0.3349, allocations: 0 / 381.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.335, allocations: 38.02 kB / 381.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3351, allocations: 54.84 kB / 381.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.3351, allocations: 104.2 kB / 381.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.3351, allocations: 25.7 kB / 381.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.3352, allocations: 85.97 kB / 382 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3352, allocations: 1.016 kB / 382 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.3352, allocations: 12.47 kB / 382 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.3353, allocations: 316.1 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.3353, allocations: 3 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.3353, allocations: 5.141 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.3353, allocations: 11.73 kB / 382.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3353, allocations: 0 / 382.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.615e-05/0.3354, allocations: 39.84 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3354, allocations: 4.828 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3354, allocations: 1.375 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3354, allocations: 7.641 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-05/0.3354, allocations: 0.9375 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3355, allocations: 1.375 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.3355, allocations: 0 / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3355, allocations: 1.375 kB / 382.4 MB, free: 10.2 MB / 318.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 4.393e-05/0.3355, allocations: 118.5 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3356, allocations: 1.984 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.3356, allocations: 12.98 kB / 382.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3356, allocations: 3.609 kB / 382.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3356, allocations: 1.781 kB / 382.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3356, allocations: 0.6094 kB / 382.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.07e-05/0.3357, allocations: 150.7 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3357, allocations: 0.75 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.3357, allocations: 2.203 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3357, allocations: 5.094 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3357, allocations: 3.938 kB / 382.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3357, allocations: 1.625 kB / 382.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3357, allocations: 4.312 kB / 382.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.55e-05/0.3358, allocations: 65.8 kB / 382.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.3358, allocations: 77.72 kB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3358, allocations: 6.234 kB / 382.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.3358, allocations: 4.25 kB / 382.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.3359, allocations: 0 / 382.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3359, allocations: 0.7812 kB / 382.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.3359, allocations: 82.11 kB / 382.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3359, allocations: 0 / 382.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.3364, allocations: 129.9 kB / 383 MB, free: 9.645 MB / 318.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.0009508/0.3373, allocations: 0.9556 MB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.3374, allocations: 8.625 kB / 384 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3374, allocations: 0 / 384 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-06/0.3374, allocations: 2.453 kB / 384 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3376, allocations: 11.48 kB / 384 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.3384, allocations: 1.156 MB / 385.1 MB, free: 7.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3385, allocations: 0.6741 MB / 385.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.3386, allocations: 9.797 kB / 385.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3386, allocations: 13.02 kB / 385.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3386, allocations: 1.375 kB / 385.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.3624, allocations: 3.917 MB / 389.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.071, allocations: 24.95 kB / 389.8 MB, free: 6.352 MB / 318.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