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.001553/0.001553, 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.002103/0.002103, allocations: 214.5 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.494/1.494, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001764/0.001764, allocations: 59.2 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2739, allocations: 49.16 MB / 396.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002187/0.2761, allocations: 1.188 MB / 397.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2791, allocations: 2.021 MB / 399.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.2791, allocations: 0 / 399.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2791, allocations: 0.8906 kB / 399.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.2804, allocations: 441.5 kB / 400 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.558e-05/0.2804, allocations: 5.891 kB / 400 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.2804, allocations: 13.8 kB / 400 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.2805, allocations: 5.938 kB / 400 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.2805, allocations: 6.547 kB / 400 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.2806, allocations: 4.109 kB / 400 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.2806, allocations: 0 / 400 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.2813, allocations: 444.7 kB / 400.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2813, allocations: 1.734 kB / 400.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.2813, allocations: 10.14 kB / 400.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2819, allocations: 332.4 kB / 400.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2819, allocations: 0 / 400.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2819, allocations: 4 kB / 400.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2819, allocations: 0 / 400.8 MB, free: 6.457 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.0003663/0.2823, allocations: 334 kB / 401.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2823, allocations: 13.02 kB / 401.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.2823, allocations: 111.8 kB / 401.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.2824, allocations: 81.86 kB / 401.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2825, allocations: 188.3 kB / 401.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2825, allocations: 152.4 kB / 401.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.2825, allocations: 154.5 kB / 401.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.43e-05/0.2826, allocations: 103.5 kB / 401.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2826, allocations: 79.22 kB / 402 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2826, allocations: 159.7 kB / 402.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.2826, allocations: 152 kB / 402.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.2827, allocations: 151.7 kB / 402.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.2828, allocations: 427.3 kB / 402.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.2829, allocations: 174.5 kB / 403 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.2829, allocations: 88.88 kB / 403.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2829, allocations: 76.44 kB / 403.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.2831, allocations: 43.47 kB / 403.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.2831, allocations: 0 / 403.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.2832, allocations: 43.94 kB / 403.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2832, allocations: 57.48 kB / 403.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.2833, allocations: 102.8 kB / 403.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.2833, allocations: 25.7 kB / 403.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.2833, allocations: 82.23 kB / 403.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.2833, allocations: 0 / 403.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.2834, allocations: 12.12 kB / 403.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.2834, allocations: 317.1 kB / 403.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.2834, allocations: 1.406 kB / 403.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.2834, allocations: 1.469 kB / 403.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/0.2834, allocations: 12.88 kB / 403.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2834, allocations: 3.938 kB / 403.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.547e-05/0.2835, allocations: 35.89 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2835, allocations: 5.625 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2835, allocations: 0 / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2835, allocations: 0.5625 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.2835, allocations: 1.469 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2835, allocations: 0.6562 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.2836, allocations: 0 / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.2836, allocations: 1.312 kB / 403.9 MB, free: 3.254 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.96e-05/0.2836, allocations: 120.7 kB / 404 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.2836, allocations: 1.844 kB / 404 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2836, allocations: 9.062 kB / 404 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2837, allocations: 0.5625 kB / 404 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2837, allocations: 1.5 kB / 404 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2837, allocations: 0 / 404 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.2837, allocations: 121.8 kB / 404.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2837, allocations: 4.906 kB / 404.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.2837, allocations: 0.7969 kB / 404.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2837, allocations: 1.156 kB / 404.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.2837, allocations: 4 kB / 404.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2837, allocations: 3.938 kB / 404.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2837, allocations: 2.047 kB / 404.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.686e-05/0.2838, allocations: 65.02 kB / 404.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.2838, allocations: 9.562 kB / 404.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2838, allocations: 1.891 kB / 404.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.2838, allocations: 2.047 kB / 404.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.2838, allocations: 0 / 404.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2839, allocations: 1.453 kB / 404.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.2839, allocations: 84.88 kB / 404.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2839, allocations: 5.469 kB / 404.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.2843, allocations: 126.8 kB / 404.5 MB, free: 2.758 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.001122/0.2854, allocations: 0.9809 MB / 405.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.2855, allocations: 7.938 kB / 405.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2855, allocations: 0 / 405.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-06/0.2855, allocations: 2.406 kB / 405.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2856, allocations: 5.703 kB / 405.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/0.2865, allocations: 1.158 MB / 406.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.2865, allocations: 59.97 kB / 406.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.676e-05/0.2865, allocations: 12.41 kB / 406.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.2865, allocations: 12.09 kB / 406.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2865, allocations: 1.125 kB / 406.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.324, allocations: 4.45 MB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.95, allocations: 6.406 kB / 411.1 MB, free: 15.03 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.384961129631847]