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.002221/0.002221, allocations: 103.6 kB / 21.18 MB, free: 332 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.002534/0.002534, allocations: 213 kB / 24.47 MB, free: 3.547 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.424/1.424, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.002173/0.002173, allocations: 66.66 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2943, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002741/0.2971, allocations: 1.558 MB / 397.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.298, allocations: 0.5344 MB / 398.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.298, allocations: 1.5 kB / 398.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.298, allocations: 5.25 kB / 398.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.2981, allocations: 10.05 kB / 398.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.2984, allocations: 49.27 kB / 398.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.2985, allocations: 50.66 kB / 398.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2986, allocations: 13.08 kB / 398.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.2986, allocations: 29.7 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.2987, allocations: 22.69 kB / 398.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2987, allocations: 3.969 kB / 398.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.2989, allocations: 43.41 kB / 398.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2989, allocations: 12.22 kB / 398.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.2989, allocations: 27.25 kB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2991, allocations: 83.88 kB / 398.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2991, allocations: 1.891 kB / 398.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2991, allocations: 0 / 398.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2991, allocations: 0 / 398.8 MB, free: 7.309 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.000406/0.2995, allocations: 304 kB / 399.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2995, allocations: 14.44 kB / 399.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.225e-05/0.2996, allocations: 43.44 kB / 399.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.3, allocations: 45.75 kB / 399.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.3001, allocations: 120.1 kB / 399.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3001, allocations: 8.844 kB / 399.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3001, allocations: 3.906 kB / 399.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3004, allocations: 97.62 kB / 399.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3004, allocations: 0 / 399.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3004, allocations: 5.344 kB / 399.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3004, allocations: 6.375 kB / 399.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.3006, allocations: 65.91 kB / 399.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.3011, allocations: 323 kB / 399.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.3013, allocations: 68.22 kB / 399.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.3014, allocations: 39.12 kB / 399.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3014, allocations: 0.7031 kB / 399.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.3014, allocations: 40.88 kB / 399.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3014, allocations: 0 / 399.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003912/0.3018, allocations: 133.2 kB / 400.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3018, allocations: 53.61 kB / 400.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.3019, allocations: 119.7 kB / 400.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.3019, allocations: 26.55 kB / 400.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.3019, allocations: 99.02 kB / 400.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.302, allocations: 20.05 kB / 400.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.302, allocations: 19.8 kB / 400.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.302, allocations: 315.2 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.3021, allocations: 32.97 kB / 400.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.3022, allocations: 25.39 kB / 400.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3024, allocations: 57.38 kB / 400.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3024, allocations: 0.7969 kB / 400.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002101/0.3026, allocations: 103.8 kB / 400.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3026, allocations: 5.703 kB / 400.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3026, allocations: 0 / 400.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3026, allocations: 5.094 kB / 400.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3027, allocations: 17.98 kB / 401 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3028, allocations: 0.5156 kB / 401 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3028, allocations: 14.5 kB / 401 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3028, allocations: 1.797 kB / 401 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 6.841e-05/0.3029, allocations: 114.2 kB / 401.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3029, allocations: 11.14 kB / 401.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3032, allocations: 115.4 kB / 401.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3032, allocations: 5.812 kB / 401.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3032, allocations: 1.156 kB / 401.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3032, allocations: 0 / 401.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3034, allocations: 154.3 kB / 401.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3034, allocations: 4 kB / 401.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3035, allocations: 25.81 kB / 401.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3035, allocations: 0 / 401.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3035, allocations: 6.297 kB / 401.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3035, allocations: 5.172 kB / 401.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3035, allocations: 0 / 401.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3038, allocations: 196.9 kB / 401.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.3038, allocations: 6.859 kB / 401.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3038, allocations: 5 kB / 401.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3039, allocations: 13.72 kB / 401.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.3039, allocations: 7.484 kB / 401.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3039, allocations: 6.922 kB / 401.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.304, allocations: 97.98 kB / 401.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.304, allocations: 0 / 401.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.3042, allocations: 10.34 kB / 401.7 MB, free: 4.922 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.0004939/0.3047, allocations: 0.7622 MB / 402.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3049, allocations: 69.25 kB / 402.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3049, allocations: 0 / 402.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.305, allocations: 35.67 kB / 402.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3054, allocations: 11.91 kB / 402.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3068, allocations: 1.483 MB / 404.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.359e-05/0.3069, allocations: 82.97 kB / 404.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.3069, allocations: 7.516 kB / 404.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.307, allocations: 26.11 kB / 404.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.307, allocations: 0 / 404.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.3383, allocations: 2.549 MB / 406.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.91, allocations: 1.031 kB / 406.8 MB, free: 1.742 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.397685271222144]