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.001866/0.001866, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002569/0.002569, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.532/1.532, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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="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.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.002093/0.002093, allocations: 58.58 kB / 347.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2431, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002077/0.2452, allocations: 1.192 MB / 397.5 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.248, allocations: 2.017 MB / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2481, allocations: 0 / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.2481, allocations: 4.891 kB / 399.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.2492, allocations: 441 kB / 400 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.299e-05/0.2492, allocations: 5.781 kB / 400 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.944e-05/0.2492, allocations: 13.06 kB / 400 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2493, allocations: 3.875 kB / 400 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.2493, allocations: 2.625 kB / 400 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.2493, allocations: 10.77 kB / 400 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.2493, allocations: 0 / 400 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.25, allocations: 445.5 kB / 400.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.25, allocations: 5.125 kB / 400.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.25, allocations: 2.094 kB / 400.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.2505, allocations: 336.2 kB / 400.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2505, allocations: 0.6094 kB / 400.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2505, allocations: 1.438 kB / 400.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2505, allocations: 0 / 400.8 MB, free: 6.266 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.0003277/0.2508, allocations: 336.8 kB / 401.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2508, allocations: 13.17 kB / 401.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.2509, allocations: 107.8 kB / 401.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.2509, allocations: 81.31 kB / 401.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.251, allocations: 192.3 kB / 401.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.251, allocations: 160.2 kB / 401.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.251, allocations: 155.5 kB / 401.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.859e-05/0.2511, allocations: 102.9 kB / 401.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2511, allocations: 79.22 kB / 402 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2511, allocations: 151.9 kB / 402.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2511, allocations: 155.3 kB / 402.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.2512, allocations: 152.1 kB / 402.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.2513, allocations: 423 kB / 402.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.2514, allocations: 170.2 kB / 403 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.2514, allocations: 89.89 kB / 403.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2514, allocations: 79.28 kB / 403.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.2515, allocations: 48.05 kB / 403.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.093e-06/0.2515, allocations: 0 / 403.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001075/0.2516, allocations: 35.7 kB / 403.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.2516, allocations: 57.22 kB / 403.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.2517, allocations: 102.4 kB / 403.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.2517, allocations: 26.8 kB / 403.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.2517, allocations: 82.08 kB / 403.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.2517, allocations: 0 / 403.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2518, allocations: 17.28 kB / 403.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.2518, allocations: 316.1 kB / 403.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.2518, allocations: 1.438 kB / 403.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.2518, allocations: 2.188 kB / 403.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.723e-05/0.2518, allocations: 7.547 kB / 403.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2518, allocations: 3.938 kB / 403.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.321e-05/0.2519, allocations: 40.19 kB / 403.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2519, allocations: 5.531 kB / 403.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2519, allocations: 5.062 kB / 403.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2519, allocations: 96 / 403.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-05/0.2519, allocations: 5.938 kB / 403.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2519, allocations: 0 / 403.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.252, allocations: 0 / 403.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.252, allocations: 1.188 kB / 403.9 MB, free: 3.051 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 4.696e-05/0.252, allocations: 113.9 kB / 404 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.252, allocations: 0 / 404 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.252, allocations: 9.984 kB / 404 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.252, allocations: 1.406 kB / 404 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.252, allocations: 0 / 404 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.252, allocations: 0 / 404 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.814e-05/0.2521, allocations: 130.4 kB / 404.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2521, allocations: 5.438 kB / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.2521, allocations: 0.6094 kB / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2521, allocations: 0 / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.2521, allocations: 1.438 kB / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2521, allocations: 0.5625 kB / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2521, allocations: 0 / 404.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.479e-05/0.2522, allocations: 66.42 kB / 404.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.2522, allocations: 9.75 kB / 404.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2522, allocations: 1.797 kB / 404.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.2522, allocations: 4.594 kB / 404.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.2522, allocations: 2.031 kB / 404.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.2522, allocations: 0 / 404.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.2523, allocations: 81.22 kB / 404.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2523, allocations: 1.375 kB / 404.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00043/0.2527, allocations: 130.2 kB / 404.5 MB, free: 2.562 MB / 318.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.001152/0.2538, allocations: 0.9747 MB / 405.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.2539, allocations: 11.34 kB / 405.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2539, allocations: 0 / 405.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.311e-06/0.2539, allocations: 2.156 kB / 405.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2541, allocations: 11.33 kB / 405.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.2548, allocations: 1.152 MB / 406.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.2549, allocations: 62.86 kB / 406.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.2549, allocations: 11.67 kB / 406.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.2549, allocations: 21.44 kB / 406.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2549, allocations: 0 / 406.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.2873, allocations: 4.448 MB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.56, allocations: 5.219 kB / 411.2 MB, free: 14.86 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 14.162096760235727]