Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 51.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 49.12 MB / 391.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00232/0.1058, allocations: 1.191 MB / 392.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.109, allocations: 2.019 MB / 394.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.1091, allocations: 0 / 394.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.1091, allocations: 0 / 394.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1103, allocations: 438.5 kB / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.897e-05/0.1104, allocations: 11.98 kB / 395 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.1104, allocations: 11.92 kB / 395 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.1104, allocations: 0 / 395 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.1105, allocations: 4 kB / 395 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1107, allocations: 12 kB / 395 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1108, allocations: 0 / 395 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.1115, allocations: 491.3 kB / 395.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1115, allocations: 0 / 395.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1115, allocations: 4 kB / 395.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.112, allocations: 339.5 kB / 395.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1121, allocations: 0 / 395.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1121, allocations: 0 / 395.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1121, allocations: 3.938 kB / 395.8 MB, free: 4.234 MB / 318.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.0005547/0.1126, allocations: 414.7 kB / 396.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1127, allocations: 11.97 kB / 396.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.1127, allocations: 110 kB / 396.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.1128, allocations: 80.22 kB / 396.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.113, allocations: 239.7 kB / 396.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.1131, allocations: 150.9 kB / 396.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.1132, allocations: 162.5 kB / 397 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.1133, allocations: 105 kB / 397.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.1133, allocations: 75.28 kB / 397.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.1134, allocations: 150.6 kB / 397.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.202e-05/0.1135, allocations: 150.6 kB / 397.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.1135, allocations: 158.5 kB / 397.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1139, allocations: 450 kB / 398 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.114, allocations: 169.1 kB / 398.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.114, allocations: 80.14 kB / 398.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.1141, allocations: 75.28 kB / 398.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.1143, allocations: 55.34 kB / 398.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.455e-06/0.1143, allocations: 0 / 398.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.1144, allocations: 41.64 kB / 398.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1145, allocations: 51.41 kB / 398.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1146, allocations: 97.86 kB / 398.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1146, allocations: 25.7 kB / 398.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1147, allocations: 84.14 kB / 398.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.1147, allocations: 128 / 398.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.1147, allocations: 17.7 kB / 398.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1149, allocations: 318.8 kB / 399 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.1149, allocations: 3.938 kB / 399 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.1149, allocations: 3.938 kB / 399 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.1149, allocations: 8.859 kB / 399.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1149, allocations: 3.938 kB / 399.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.133e-05/0.115, allocations: 29.8 kB / 399.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.115, allocations: 8 kB / 399.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.115, allocations: 3.984 kB / 399.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.115, allocations: 4 kB / 399.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-05/0.115, allocations: 0 / 399.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.115, allocations: 0 / 399.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.115, allocations: 0 / 399.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.115, allocations: 7.875 kB / 399.1 MB, free: 0.7109 MB / 318.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 0.0001025/0.1152, allocations: 117.8 kB / 399.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.1152, allocations: 192 / 399.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.1152, allocations: 11.11 kB / 399.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1152, allocations: 0 / 399.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1152, allocations: 0 / 399.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1152, allocations: 3.984 kB / 399.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1154, allocations: 153.6 kB / 399.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1154, allocations: 4 kB / 399.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-06/0.1154, allocations: 0 / 399.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1154, allocations: 0 / 399.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1154, allocations: 7.984 kB / 399.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1154, allocations: 0 / 399.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1154, allocations: 0 / 399.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.1155, allocations: 57.08 kB / 399.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.1155, allocations: 81.11 kB / 399.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1155, allocations: 3.984 kB / 399.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.1155, allocations: 4 kB / 399.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.1155, allocations: 3.938 kB / 399.5 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.1156, allocations: 0 / 399.5 MB, free: 184 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.1156, allocations: 83.31 kB / 399.6 MB, free: 100 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1156, allocations: 0 / 399.6 MB, free: 100 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.116, allocations: 131.6 kB / 399.8 MB, free: 15.96 MB / 334.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.001332/0.1174, allocations: 0.9661 MB / 400.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.1174, allocations: 8 kB / 400.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1174, allocations: 7.875 kB / 400.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.1174, allocations: 0 / 400.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1176, allocations: 4 kB / 400.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1188, allocations: 1.15 MB / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1192, allocations: 0.6768 MB / 402.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.161e-05/0.1192, allocations: 7.984 kB / 402.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1192, allocations: 15.44 kB / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1192, allocations: 0 / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1485, allocations: 3.938 MB / 406.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.071, allocations: 11.84 kB / 406.5 MB, free: 8.992 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.417114747222513]