Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.001908/0.001908, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002474/0.002474, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.543/1.543, allocations: 207.6 MB / 235.3 MB, free: 10 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.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",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.001837/0.001837, allocations: 52.41 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3201, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002684/0.3228, allocations: 1.585 MB / 397.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.3238, allocations: 0.5764 MB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.3239, allocations: 0.9375 kB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3239, allocations: 13.95 kB / 398.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.324, allocations: 13.39 kB / 398.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3242, allocations: 42.22 kB / 398.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.3243, allocations: 49.73 kB / 398.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3244, allocations: 25.16 kB / 398.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.3245, allocations: 21.19 kB / 398.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.3245, allocations: 26.62 kB / 398.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3246, allocations: 5.375 kB / 398.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3247, allocations: 43.02 kB / 398.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3248, allocations: 16.27 kB / 398.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.3248, allocations: 27.98 kB / 398.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.325, allocations: 84.69 kB / 398.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.325, allocations: 0 / 398.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.325, allocations: 0 / 398.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.325, allocations: 5.125 kB / 398.9 MB, free: 7.312 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003863/0.3254, allocations: 304.3 kB / 399.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3254, allocations: 14.08 kB / 399.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.3254, allocations: 40.55 kB / 399.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.3258, allocations: 43.62 kB / 399.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.3259, allocations: 117.1 kB / 399.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3259, allocations: 7.781 kB / 399.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.326, allocations: 12.94 kB / 399.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3262, allocations: 97.64 kB / 399.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3262, allocations: 3.938 kB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3262, allocations: 2.219 kB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3262, allocations: 1.312 kB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.3264, allocations: 69.78 kB / 399.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.327, allocations: 333.4 kB / 399.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3273, allocations: 68.2 kB / 400 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3274, allocations: 35.73 kB / 400 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3274, allocations: 4.875 kB / 400 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3274, allocations: 39.75 kB / 400 MB, free: 6.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.3274, allocations: 0 / 400 MB, free: 6.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004732/0.3279, allocations: 128.8 kB / 400.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3279, allocations: 53.31 kB / 400.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.328, allocations: 119.8 kB / 400.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.328, allocations: 31.17 kB / 400.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3281, allocations: 98.08 kB / 400.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3281, allocations: 20.61 kB / 400.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3282, allocations: 18.53 kB / 400.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.3282, allocations: 315.6 kB / 400.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3283, allocations: 28.31 kB / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.3284, allocations: 29.61 kB / 400.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3286, allocations: 65.95 kB / 400.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3286, allocations: 0 / 400.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.3288, allocations: 88.98 kB / 401 MB, free: 5.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3288, allocations: 5.469 kB / 401 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3288, allocations: 0 / 401 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.3289, allocations: 5.219 kB / 401 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.329, allocations: 20.91 kB / 401.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.329, allocations: 1.344 kB / 401.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.3291, allocations: 17.52 kB / 401.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3291, allocations: 6.359 kB / 401.1 MB, free: 5.555 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.326e-05/0.3292, allocations: 113 kB / 401.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3292, allocations: 7.797 kB / 401.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3295, allocations: 115.6 kB / 401.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3295, allocations: 1 kB / 401.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3295, allocations: 0 / 401.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3296, allocations: 6.109 kB / 401.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3297, allocations: 163.5 kB / 401.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3297, allocations: 0 / 401.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3299, allocations: 19.55 kB / 401.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3299, allocations: 3.938 kB / 401.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3299, allocations: 13.73 kB / 401.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3299, allocations: 0 / 401.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3299, allocations: 0.9062 kB / 401.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.3301, allocations: 195.3 kB / 401.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3302, allocations: 7.422 kB / 401.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3302, allocations: 9.125 kB / 401.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3303, allocations: 13.17 kB / 401.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.3304, allocations: 4.75 kB / 401.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3304, allocations: 1.5 kB / 401.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.3304, allocations: 98.41 kB / 401.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3304, allocations: 0 / 401.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.3307, allocations: 9.5 kB / 401.8 MB, free: 4.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000618/0.3313, allocations: 0.7611 MB / 402.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3316, allocations: 65.86 kB / 402.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3316, allocations: 0 / 402.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3317, allocations: 42.64 kB / 402.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.332, allocations: 8.797 kB / 402.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3337, allocations: 1.483 MB / 404.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.3338, allocations: 0.6965 MB / 404.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.627e-05/0.3339, allocations: 4.812 kB / 404.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.3339, allocations: 25.59 kB / 404.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3339, allocations: 4 kB / 404.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.362, allocations: 2.083 MB / 407 MB, free: 1.586 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.61, allocations: 13.08 kB / 407 MB, free: 1.574 MB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.271082526996906]