Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 59.5 kB / 307 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1093, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002367/0.1117, allocations: 1.2 MB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1148, allocations: 2.072 MB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1148, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1149, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Utilities/Examples.mo:279:3-378: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.001154/0.116, allocations: 474.5 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.175e-05/0.1161, allocations: 4 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.1161, allocations: 11.94 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1161, allocations: 7.984 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.1162, allocations: 4 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.1209, allocations: 15.92 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1209, allocations: 0 / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.1218, allocations: 475.5 kB / 361.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1218, allocations: 0 / 361.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1219, allocations: 4 kB / 361.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.1225, allocations: 375.4 kB / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1225, allocations: 0 / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1225, allocations: 0 / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1225, allocations: 0 / 362.2 MB, free: 9.371 MB / 302.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.0005963/0.1231, allocations: 427.6 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1232, allocations: 12.03 kB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.1233, allocations: 106 kB / 362.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.1233, allocations: 76.22 kB / 362.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1236, allocations: 255.6 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.1237, allocations: 150.9 kB / 363.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.1238, allocations: 158.5 kB / 363.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1239, allocations: 101 kB / 363.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.124, allocations: 75.28 kB / 363.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.124, allocations: 154.6 kB / 363.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.1241, allocations: 154.6 kB / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1242, allocations: 154.5 kB / 364 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1246, allocations: 449.9 kB / 364.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1247, allocations: 173.1 kB / 364.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.1248, allocations: 80.14 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1248, allocations: 79.28 kB / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.125, allocations: 55.25 kB / 364.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.964e-06/0.125, allocations: 0 / 364.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.1251, allocations: 29.7 kB / 364.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1252, allocations: 59.34 kB / 364.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1253, allocations: 105.8 kB / 365 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1253, allocations: 29.64 kB / 365 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.1254, allocations: 80.27 kB / 365.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.1254, allocations: 12 kB / 365.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.1254, allocations: 9.719 kB / 365.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1255, allocations: 314.8 kB / 365.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.1256, allocations: 0 / 365.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.1256, allocations: 4 kB / 365.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.1256, allocations: 8.797 kB / 365.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1256, allocations: 3.938 kB / 365.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.1257, allocations: 41.77 kB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1257, allocations: 4 kB / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1257, allocations: 0 / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1257, allocations: 0 / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.1257, allocations: 0 / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1257, allocations: 4 kB / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1258, allocations: 0 / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1258, allocations: 3.984 kB / 365.5 MB, free: 5.824 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 7.343e-05/0.1259, allocations: 114.8 kB / 365.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1259, allocations: 8.031 kB / 365.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.1259, allocations: 7.078 kB / 365.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1259, allocations: 3.938 kB / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1259, allocations: 0 / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1259, allocations: 0 / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1261, allocations: 157.6 kB / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1261, allocations: 0 / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.1261, allocations: 0 / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1261, allocations: 0 / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1261, allocations: 0 / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1261, allocations: 0 / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1261, allocations: 4 kB / 365.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.012e-05/0.1262, allocations: 68.97 kB / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1262, allocations: 77.11 kB / 365.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1262, allocations: 0 / 365.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.1263, allocations: 4 kB / 365.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.1263, allocations: 7.938 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1263, allocations: 0 / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.843e-05/0.1264, allocations: 87.3 kB / 366 MB, free: 5.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.1264, allocations: 0 / 366 MB, free: 5.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.1269, allocations: 147.9 kB / 366.1 MB, free: 5.051 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.001555/0.1285, allocations: 0.9921 MB / 367.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.1286, allocations: 4 kB / 367.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1286, allocations: 0 / 367.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.1286, allocations: 8 kB / 367.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.1287, allocations: 8 kB / 367.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1299, allocations: 1.15 MB / 368.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1302, allocations: 0.6768 MB / 369 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.1302, allocations: 11.92 kB / 369 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1303, allocations: 19.44 kB / 369 MB, free: 2.109 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1303, allocations: 0 / 369 MB, free: 2.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/0.3356, allocations: 4.302 MB / 373.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.074, allocations: 7.906 kB / 373.3 MB, free: 18.2 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches