Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_0_0_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.001081/0.001081, allocations: 113.2 kB / 16.63 MB, free: 6.812 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.0009828/0.0009828, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.279/1.279, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 51.92 kB / 300.2 MB, free: 5.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09713, allocations: 49.45 MB / 349.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002246/0.09941, allocations: 1.247 MB / 350.9 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1022, allocations: 1.936 MB / 352.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.1022, allocations: 0 / 352.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1022, allocations: 0 / 352.9 MB, free: 1.254 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Examples.mo:279:3-372:24:writable] Warning: Pure function ‘Modelica.Utilities.Examples.readRealParameter‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1035, allocations: 387.2 kB / 353.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.318e-05/0.1036, allocations: 4 kB / 353.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.1036, allocations: 11.94 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.1037, allocations: 0 / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1037, allocations: 7.938 kB / 353.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1038, allocations: 11.98 kB / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1038, allocations: 0 / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.1045, allocations: 431.5 kB / 353.7 MB, free: 428 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.1045, allocations: 0 / 353.7 MB, free: 428 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1045, allocations: 11.94 kB / 353.7 MB, free: 416 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.1051, allocations: 339.4 kB / 354 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1051, allocations: 0 / 354 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1051, allocations: 4 kB / 354 MB, free: 72 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1051, allocations: 0 / 354 MB, free: 72 kB / 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.0004487/0.1055, allocations: 403.4 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1056, allocations: 8.031 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1056, allocations: 118 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.1057, allocations: 80.2 kB / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1059, allocations: 247.9 kB / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.1059, allocations: 154.9 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.106, allocations: 154.5 kB / 355.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.629e-05/0.106, allocations: 104.9 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.106, allocations: 75.28 kB / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1061, allocations: 150.6 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.1061, allocations: 154.6 kB / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.1062, allocations: 154.6 kB / 355.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.1064, allocations: 445.9 kB / 356.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.1065, allocations: 177.1 kB / 356.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.1065, allocations: 84.14 kB / 356.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1066, allocations: 83.28 kB / 356.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1067, allocations: 43.41 kB / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 3.717e-06/0.1067, allocations: 0 / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.1068, allocations: 45.48 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1069, allocations: 51.41 kB / 356.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.1069, allocations: 102 kB / 356.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.107, allocations: 29.7 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.107, allocations: 84.14 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.107, allocations: 0 / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1071, allocations: 13.72 kB / 356.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.1071, allocations: 310.8 kB / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.1072, allocations: 0 / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-06/0.1072, allocations: 0 / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.1072, allocations: 20.91 kB / 357.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1072, allocations: 3.938 kB / 357.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.137e-05/0.1073, allocations: 33.64 kB / 357.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1073, allocations: 8 kB / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1073, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1073, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.758e-05/0.1073, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1073, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.1074, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1074, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.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 6.996e-05/0.1074, allocations: 117.8 kB / 357.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.1075, allocations: 3.984 kB / 357.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.1075, allocations: 7.125 kB / 357.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1075, allocations: 4 kB / 357.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1075, allocations: 0 / 357.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1075, allocations: 4 kB / 357.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1076, allocations: 153.5 kB / 357.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1076, allocations: 0 / 357.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/0.1076, allocations: 4 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1077, allocations: 4 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.1077, allocations: 0 / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1077, allocations: 0 / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1077, allocations: 3.938 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.1077, allocations: 65.25 kB / 357.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1078, allocations: 81.02 kB / 357.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1078, allocations: 3.984 kB / 357.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.1078, allocations: 3.938 kB / 357.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-06/0.1078, allocations: 4.031 kB / 357.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.1078, allocations: 0 / 357.8 MB, free: 12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.204e-05/0.1079, allocations: 91.27 kB / 357.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1079, allocations: 0 / 357.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1083, allocations: 124 kB / 358 MB, free: 11.79 MB / 302.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.001131/0.1094, allocations: 0.9716 MB / 358.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.1095, allocations: 12 kB / 358.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1095, allocations: 0 / 358.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.1095, allocations: 0 / 358.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1097, allocations: 7.984 kB / 359 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.1107, allocations: 1.146 MB / 360.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1109, allocations: 0.6767 MB / 360.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.1109, allocations: 16 kB / 360.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.111, allocations: 19.38 kB / 360.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.111, allocations: 0 / 360.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1265, allocations: 3.81 MB / 364.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.1267, allocations: 251.2 kB / 364.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/1.987, allocations: 4.062 kB / 364.9 MB, free: 4.934 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches