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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 117.5 kB / 19.17 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 204 kB / 22.11 MB, free: 1.043 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.451/1.451, allocations: 207.6 MB / 232.5 MB, free: 3.949 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 52.34 kB / 343 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 49.13 MB / 392.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002303/0.1079, allocations: 1.182 MB / 393.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1112, allocations: 2.029 MB / 395.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1112, allocations: 4 kB / 395.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.1113, allocations: 0 / 395.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1124, allocations: 430.7 kB / 395.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.218e-05/0.1125, allocations: 11.92 kB / 395.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.1125, allocations: 8 kB / 395.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.1126, allocations: 3.938 kB / 395.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.1126, allocations: 7.938 kB / 395.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.1129, allocations: 15.92 kB / 395.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1129, allocations: 0 / 395.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.1137, allocations: 475.5 kB / 396.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1137, allocations: 7.984 kB / 396.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1137, allocations: 7.984 kB / 396.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.1142, allocations: 339.3 kB / 396.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1142, allocations: 0 / 396.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1142, allocations: 0 / 396.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1142, allocations: 4 kB / 396.6 MB, free: 4.203 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.0005216/0.1148, allocations: 410.6 kB / 397 MB, free: 3.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1148, allocations: 12.03 kB / 397 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.102e-05/0.1149, allocations: 79.47 kB / 397.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.1149, allocations: 106 kB / 397.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.115, allocations: 76.22 kB / 397.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1152, allocations: 247.7 kB / 397.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.1153, allocations: 154.7 kB / 397.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.1153, allocations: 150.6 kB / 397.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.177e-05/0.1154, allocations: 105 kB / 397.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.1154, allocations: 79.22 kB / 398 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.1155, allocations: 154.6 kB / 398.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.1156, allocations: 150.6 kB / 398.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.1157, allocations: 150.6 kB / 398.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.116, allocations: 449.9 kB / 398.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1161, allocations: 173.1 kB / 399 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.1161, allocations: 84.08 kB / 399.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.1162, allocations: 75.28 kB / 399.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1164, allocations: 51.41 kB / 399.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.185e-06/0.1164, allocations: 0 / 399.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.1165, allocations: 37.59 kB / 399.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1166, allocations: 55.41 kB / 399.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1167, allocations: 101.8 kB / 399.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1167, allocations: 25.7 kB / 399.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.1167, allocations: 80.14 kB / 399.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.1167, allocations: 4 kB / 399.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1168, allocations: 17.84 kB / 399.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1169, allocations: 314.8 kB / 399.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.117, allocations: 0 / 399.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.117, allocations: 4 kB / 399.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.117, allocations: 8.797 kB / 399.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.117, allocations: 4 kB / 399.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.763e-05/0.117, allocations: 45.58 kB / 399.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1171, allocations: 4.781 kB / 399.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1171, allocations: 4.094 kB / 399.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1171, allocations: 3.938 kB / 399.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.223e-05/0.1171, allocations: 3.984 kB / 399.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1171, allocations: 4 kB / 399.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1171, allocations: 0 / 399.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1171, allocations: 0 / 399.9 MB, free: 0.6016 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 9.776e-05/0.1172, allocations: 109.8 kB / 400 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1172, allocations: 4 kB / 400.1 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.1172, allocations: 3.125 kB / 400.1 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1173, allocations: 4.188 kB / 400.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1173, allocations: 0 / 400.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1173, allocations: 3.984 kB / 400.1 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1174, allocations: 157.6 kB / 400.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1174, allocations: 0 / 400.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-06/0.1174, allocations: 0 / 400.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1174, allocations: 0 / 400.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1174, allocations: 0 / 400.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1174, allocations: 3.984 kB / 400.2 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1174, allocations: 7.984 kB / 400.2 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.1175, allocations: 65.02 kB / 400.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1175, allocations: 77.11 kB / 400.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1175, allocations: 0 / 400.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.299e-05/0.1176, allocations: 4 kB / 400.4 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1176, allocations: 3.984 kB / 400.4 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1176, allocations: 0 / 400.4 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.827e-05/0.1176, allocations: 79.28 kB / 400.5 MB, free: 16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 4.031 kB / 400.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.1181, allocations: 135.5 kB / 400.6 MB, free: 15.86 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.001457/0.1195, allocations: 0.97 MB / 401.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1196, allocations: 11.94 kB / 401.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1196, allocations: 0 / 401.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-06/0.1196, allocations: 0 / 401.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1198, allocations: 8 kB / 401.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.121, allocations: 1.146 MB / 402.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1213, allocations: 0.6768 MB / 403.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.1213, allocations: 7.938 kB / 403.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1213, allocations: 19.42 kB / 403.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1213, allocations: 4 kB / 403.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.1468, allocations: 3.963 MB / 407.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.014, allocations: 23.73 kB / 407.4 MB, free: 8.84 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.453871460980736]