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.001782/0.001782, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002071/0.002071, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.429/1.429, allocations: 230.2 MB / 254.5 MB, free: 15.26 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="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 0.002577/0.002577, allocations: 67.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1174, allocations: 53.31 MB / 426.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002588/0.12, allocations: 1.198 MB / 427.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.1234, allocations: 2.097 MB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1235, allocations: 0 / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.1235, allocations: 0 / 429.9 MB, free: 1.707 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.00145/0.1249, allocations: 474.5 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.024e-05/0.125, allocations: 7.969 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.125, allocations: 11.94 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.1251, allocations: 4 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.1251, allocations: 7.938 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1254, allocations: 4 kB / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1254, allocations: 0 / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1265, allocations: 0.5112 MB / 430.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.1265, allocations: 15.92 kB / 430.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1265, allocations: 7.938 kB / 431 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.1271, allocations: 375.2 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1271, allocations: 0 / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1271, allocations: 0 / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1271, allocations: 0 / 431.3 MB, free: 312 kB / 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.0006008/0.1277, allocations: 426.5 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1278, allocations: 8.031 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.798e-05/0.1279, allocations: 110 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1279, allocations: 84.17 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.1282, allocations: 243.6 kB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.1282, allocations: 154.9 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.1283, allocations: 154.9 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.1284, allocations: 109.1 kB / 432.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/0.1284, allocations: 75.28 kB / 432.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.1285, allocations: 154.6 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.785e-05/0.1286, allocations: 154.6 kB / 433 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.1287, allocations: 154.6 kB / 433.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.129, allocations: 445.9 kB / 433.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1291, allocations: 177.1 kB / 433.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.1292, allocations: 80.14 kB / 433.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.1292, allocations: 75.28 kB / 433.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1294, allocations: 43.36 kB / 433.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.525e-06/0.1294, allocations: 0 / 433.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.1296, allocations: 45.72 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1296, allocations: 59.38 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1297, allocations: 97.84 kB / 434.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1298, allocations: 29.7 kB / 434.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.1298, allocations: 84.14 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1298, allocations: 3.953 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.1299, allocations: 9.719 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.13, allocations: 314.8 kB / 434.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.13, allocations: 4 kB / 434.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.1301, allocations: 4 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.1301, allocations: 12.8 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1301, allocations: 0 / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.798e-05/0.1301, allocations: 37.62 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1301, allocations: 4 kB / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1302, allocations: 7.938 kB / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1302, allocations: 0 / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.1302, allocations: 0 / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1302, allocations: 8.078 kB / 434.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.1302, allocations: 0 / 434.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1302, allocations: 0 / 434.6 MB, free: 12.76 MB / 366.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 9.844e-05/0.1303, allocations: 109.8 kB / 434.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1303, allocations: 3.938 kB / 434.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.1304, allocations: 11.3 kB / 434.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1304, allocations: 3.984 kB / 434.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1304, allocations: 0 / 434.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1304, allocations: 4 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1305, allocations: 153.7 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1305, allocations: 3.938 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.1305, allocations: 3.938 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1305, allocations: 4 kB / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1305, allocations: 0 / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1305, allocations: 0 / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1305, allocations: 0 / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.1306, allocations: 57.12 kB / 435 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1307, allocations: 89.08 kB / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1307, allocations: 0 / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.1307, allocations: 0 / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.1307, allocations: 0 / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1307, allocations: 4 kB / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.1308, allocations: 83.28 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1308, allocations: 0 / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004506/0.1312, allocations: 155.5 kB / 435.3 MB, free: 11.98 MB / 366.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.001406/0.1326, allocations: 0.9911 MB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.1327, allocations: 8 kB / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1327, allocations: 0 / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.1327, allocations: 7.984 kB / 436.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1328, allocations: 2.75 kB / 436.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.134, allocations: 1.157 MB / 437.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1344, allocations: 0.6729 MB / 438.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.1344, allocations: 12.05 kB / 438.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1344, allocations: 15.42 kB / 438.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1344, allocations: 0 / 438.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.1643, allocations: 4.341 MB / 442.5 MB, free: 4.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.857, allocations: 16.69 kB / 442.5 MB, free: 4.781 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.363321730867028]