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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.941/0.941, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.448e-05, allocations: 7.062 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001563/0.001587, allocations: 1.209 MB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.003812, allocations: 2.105 MB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.003837, allocations: 0 / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.003857, allocations: 0 / 327.8 MB, free: 12.57 MB / 298.7 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.001044/0.004901, allocations: 473 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.25e-05/0.004933, allocations: 4 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.004987, allocations: 15.92 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.005023, allocations: 0 / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.005058, allocations: 4 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.005121, allocations: 7.984 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.005132, allocations: 4 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007101/0.005842, allocations: 495.2 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.005856, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.005885, allocations: 8 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.006436, allocations: 466.9 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.006439, allocations: 0 / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00644, allocations: 0 / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.006445, allocations: 0 / 329.2 MB, free: 11.12 MB / 298.7 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.0003469/0.006792, allocations: 349.4 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.006838, allocations: 15.97 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.006884, allocations: 106 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.006935, allocations: 84.17 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.007046, allocations: 185.1 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.007083, allocations: 154.9 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.007118, allocations: 154.9 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.926e-05/0.007167, allocations: 105.5 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.007188, allocations: 75.47 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.007229, allocations: 158.7 kB / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.007264, allocations: 150.6 kB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.007303, allocations: 154.6 kB / 330.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.0075, allocations: 413 kB / 331.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.007571, allocations: 173.1 kB / 331.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.007598, allocations: 92.12 kB / 331.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.007619, allocations: 79.22 kB / 331.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.007758, allocations: 43.41 kB / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.00776, allocations: 0 / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.007889, allocations: 41.56 kB / 331.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.007921, allocations: 59.34 kB / 331.8 MB, free: 8.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.007988, allocations: 97.86 kB / 331.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.007998, allocations: 25.7 kB / 331.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.008029, allocations: 88.27 kB / 332 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.008044, allocations: 7.953 kB / 332 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.008068, allocations: 13.7 kB / 332 MB, free: 8.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.008145, allocations: 314.8 kB / 332.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.008153, allocations: 0 / 332.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.008158, allocations: 0 / 332.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.008181, allocations: 12.86 kB / 332.3 MB, free: 7.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.008184, allocations: 4 kB / 332.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.851e-05/0.008222, allocations: 33.64 kB / 332.4 MB, free: 7.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.008237, allocations: 7.984 kB / 332.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.008243, allocations: 12.03 kB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.008254, allocations: 0 / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.008275, allocations: 0 / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.00828, allocations: 3.984 kB / 332.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.008295, allocations: 0 / 332.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.0083, allocations: 0 / 332.4 MB, free: 7.77 MB / 298.7 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 5.6e-05/0.008356, allocations: 109.8 kB / 332.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-06/0.008361, allocations: 0 / 332.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.008387, allocations: 11.05 kB / 332.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00839, allocations: 0 / 332.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.008394, allocations: 11.98 kB / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008397, allocations: 0 / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.96e-05/0.008476, allocations: 116.8 kB / 332.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008478, allocations: 0 / 332.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-06/0.00848, allocations: 4 kB / 332.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.008481, allocations: 0 / 332.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.008488, allocations: 3.938 kB / 332.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008489, allocations: 3.938 kB / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008491, allocations: 3.984 kB / 332.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.94e-05/0.00854, allocations: 61.08 kB / 332.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-06/0.008543, allocations: 0 / 332.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.008554, allocations: 7.969 kB / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.008561, allocations: 4 kB / 332.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.008572, allocations: 3.984 kB / 332.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.008574, allocations: 0 / 332.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.867e-05/0.008602, allocations: 79.28 kB / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008602, allocations: 0 / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.008965, allocations: 147.5 kB / 332.9 MB, free: 7.141 MB / 298.7 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.0009569/0.009922, allocations: 1.026 MB / 334 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.009986, allocations: 11.92 kB / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.009988, allocations: 0 / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.009992, allocations: 4 kB / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.0101, allocations: 0 / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.01095, allocations: 1.176 MB / 335.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.01099, allocations: 59.34 kB / 335.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01102, allocations: 7.984 kB / 335.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.01105, allocations: 12.5 kB / 335.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01105, allocations: 0 / 335.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02917, allocations: 5.041 MB / 340.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.954, allocations: 7.984 kB / 340.3 MB, free: 15.81 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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.000201919 Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.832258509472013]