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.001264/0.001264, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001306/0.001306, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.358/1.358, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.001784/0.001784, allocations: 60.05 kB / 378.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2264, allocations: 53.42 MB / 431.9 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00206/0.2284, allocations: 1.204 MB / 433.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.2316, allocations: 2.199 MB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.2316, allocations: 0 / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2316, allocations: 0 / 435.3 MB, free: 3.285 MB / 334.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.001114/0.2327, allocations: 485.9 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.089e-05/0.2327, allocations: 0 / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.2328, allocations: 7.938 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2328, allocations: 15.98 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.2328, allocations: 7.984 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2329, allocations: 7.938 kB / 435.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.233, allocations: 0 / 435.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.2337, allocations: 0.5112 MB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.2337, allocations: 7.938 kB / 436.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.2337, allocations: 7.938 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.2342, allocations: 383.5 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2342, allocations: 3.984 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2342, allocations: 0 / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2342, allocations: 0 / 436.8 MB, free: 1.871 MB / 334.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.0004175/0.2347, allocations: 349.4 kB / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2347, allocations: 12.03 kB / 437.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.2e-05/0.2347, allocations: 75.47 kB / 437.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.2348, allocations: 110 kB / 437.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.2349, allocations: 80.17 kB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.235, allocations: 185.8 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.2351, allocations: 158.9 kB / 437.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.2351, allocations: 150.9 kB / 437.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.291e-05/0.2352, allocations: 104.9 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.2352, allocations: 79.28 kB / 438 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.2353, allocations: 158.5 kB / 438.2 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/0.2354, allocations: 150.6 kB / 438.3 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.2354, allocations: 154.6 kB / 438.5 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.2357, allocations: 429 kB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.2358, allocations: 165.1 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.2358, allocations: 80.14 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.2359, allocations: 83.22 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.236, allocations: 43.36 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.236, allocations: 0 / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.2361, allocations: 45.62 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2361, allocations: 51.41 kB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.2362, allocations: 102 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2362, allocations: 29.7 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.2363, allocations: 84.14 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2363, allocations: 3.953 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.2363, allocations: 9.719 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2364, allocations: 314.8 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.2365, allocations: 4 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.2365, allocations: 0 / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.2365, allocations: 16.86 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2365, allocations: 0 / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.227e-05/0.2365, allocations: 37.62 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.2366, allocations: 4 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2366, allocations: 0 / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2366, allocations: 4 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.574e-05/0.2366, allocations: 0 / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2366, allocations: 0 / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.2366, allocations: 3.938 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.2366, allocations: 0 / 440 MB, free: 14.45 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 7.06e-05/0.2367, allocations: 117.8 kB / 440.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.2367, allocations: 7.938 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.2367, allocations: 11.09 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2367, allocations: 0 / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2367, allocations: 3.938 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.2367, allocations: 0 / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2368, allocations: 124.7 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2368, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-06/0.2368, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2368, allocations: 8 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.2368, allocations: 0 / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.2368, allocations: 0 / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.2368, allocations: 0 / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.021e-05/0.2369, allocations: 57.08 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.2369, allocations: 7.984 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.2369, allocations: 0 / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.2369, allocations: 3.938 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-06/0.2369, allocations: 4.031 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2369, allocations: 4 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.237, allocations: 83.28 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.237, allocations: 4 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.2374, allocations: 151.5 kB / 440.5 MB, free: 13.8 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.001288/0.2387, allocations: 0.9765 MB / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.498e-05/0.2387, allocations: 4 kB / 441.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2387, allocations: 0 / 441.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.2387, allocations: 12 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2389, allocations: 3.984 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2399, allocations: 1.166 MB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2402, allocations: 0.6767 MB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.2402, allocations: 11.92 kB / 443.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.2402, allocations: 19.42 kB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2402, allocations: 0 / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2669, allocations: 4.476 MB / 447.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.73, allocations: 13.81 kB / 447.9 MB, free: 6.48 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.063761488010641]