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.001689/0.001689, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 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.001688/0.001688, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.416/1.416, allocations: 230.4 MB / 254.7 MB, free: 14.82 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 68.09 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1075, allocations: 53.38 MB / 427 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002425/0.1099, allocations: 1.208 MB / 428.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.1135, allocations: 2.094 MB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1135, allocations: 4 kB / 430.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.1136, allocations: 0 / 430.3 MB, free: 1.293 MB / 350.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.001363/0.1149, allocations: 473.2 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.583e-05/0.1149, allocations: 7.984 kB / 430.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.115, allocations: 11.92 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.115, allocations: 3.938 kB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.1151, allocations: 4 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1168, allocations: 11.98 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1168, allocations: 4 kB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009224/0.1177, allocations: 0.5111 MB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1178, allocations: 3.984 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1178, allocations: 11.92 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.3038, allocations: 371.6 kB / 431.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3038, allocations: 0.6094 kB / 431.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3038, allocations: 0.5 kB / 431.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3038, allocations: 0.9062 kB / 431.7 MB, free: 7.883 MB / 350.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.0004183/0.3042, allocations: 424.2 kB / 432.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3043, allocations: 9.969 kB / 432.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.089e-05/0.3043, allocations: 77.56 kB / 432.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.3043, allocations: 107.1 kB / 432.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.3044, allocations: 81.53 kB / 432.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3045, allocations: 247.7 kB / 432.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3045, allocations: 151.8 kB / 432.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3045, allocations: 151.1 kB / 433 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.041e-05/0.3046, allocations: 110.2 kB / 433.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3046, allocations: 75.28 kB / 433.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3046, allocations: 151.1 kB / 433.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.3046, allocations: 157.6 kB / 433.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.3046, allocations: 154.5 kB / 433.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3048, allocations: 446.5 kB / 434 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.3048, allocations: 169.4 kB / 434.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.3049, allocations: 80.98 kB / 434.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3049, allocations: 77.25 kB / 434.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.305, allocations: 53.62 kB / 434.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.305, allocations: 4.469 kB / 434.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.3051, allocations: 34.33 kB / 434.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.3052, allocations: 58.47 kB / 434.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.3052, allocations: 100.2 kB / 434.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.3052, allocations: 26.67 kB / 434.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.691e-05/0.3053, allocations: 85.55 kB / 434.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.3053, allocations: 3.953 kB / 434.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.3053, allocations: 15.06 kB / 434.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.3053, allocations: 314.2 kB / 435 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.3053, allocations: 3.766 kB / 435 MB, free: 4.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.3053, allocations: 1.562 kB / 435 MB, free: 4.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/0.3053, allocations: 7.5 kB / 435 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3053, allocations: 0.8125 kB / 435 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.43e-05/0.3054, allocations: 39.67 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3054, allocations: 8.656 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3054, allocations: 0.6875 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3054, allocations: 0.8438 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-05/0.3054, allocations: 0.8438 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.3055, allocations: 0.5938 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.3055, allocations: 1.719 kB / 435.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3055, allocations: 0 / 435.1 MB, free: 4.484 MB / 350.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.345e-05/0.3055, allocations: 116 kB / 435.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.3055, allocations: 6.453 kB / 435.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.3056, allocations: 4.531 kB / 435.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3056, allocations: 1.672 kB / 435.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3056, allocations: 1.719 kB / 435.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3056, allocations: 2.766 kB / 435.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.434e-05/0.3056, allocations: 150.3 kB / 435.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3056, allocations: 5.906 kB / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-06/0.3056, allocations: 0.6094 kB / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3056, allocations: 2.75 kB / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.3056, allocations: 0 / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3056, allocations: 2.047 kB / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3056, allocations: 3.969 kB / 435.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.168e-05/0.3057, allocations: 56.23 kB / 435.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.3057, allocations: 90.7 kB / 435.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3057, allocations: 1.312 kB / 435.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.3057, allocations: 0 / 435.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.3057, allocations: 6.219 kB / 435.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3057, allocations: 2.875 kB / 435.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.3058, allocations: 80.77 kB / 435.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3058, allocations: 1.156 kB / 435.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.3062, allocations: 156.5 kB / 435.8 MB, free: 3.895 MB / 350.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.001091/0.3073, allocations: 0.9782 MB / 436.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.3073, allocations: 9.297 kB / 436.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3073, allocations: 0 / 436.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.3074, allocations: 5.438 kB / 436.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3075, allocations: 5.891 kB / 436.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/0.3082, allocations: 1.156 MB / 437.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.3083, allocations: 0.6748 MB / 438.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3084, allocations: 11.08 kB / 438.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.3084, allocations: 17.95 kB / 438.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3084, allocations: 3.656 kB / 438.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3314, allocations: 4.383 MB / 443 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.112, allocations: 13.38 kB / 443 MB, free: 0.7305 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.539213217969518]