Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 192.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 47.94 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2859, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002896/0.2888, allocations: 1.575 MB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2898, allocations: 494.8 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.2898, allocations: 4 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.2899, allocations: 7.938 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.2899, allocations: 7.875 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2902, allocations: 47.83 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.2903, allocations: 51.84 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2904, allocations: 19.92 kB / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.2904, allocations: 19.92 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.2905, allocations: 27.84 kB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2905, allocations: 4 kB / 424.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2907, allocations: 51.91 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.2907, allocations: 7.938 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2907, allocations: 19.86 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2909, allocations: 89.27 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2909, allocations: 0 / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2909, allocations: 0 / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2909, allocations: 0 / 425 MB, free: 11.98 MB / 334.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.0004451/0.2914, allocations: 308.8 kB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2914, allocations: 8.031 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.2915, allocations: 46.72 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.2918, allocations: 48.8 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2919, allocations: 130.3 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.292, allocations: 8.125 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.292, allocations: 8 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2922, allocations: 97.58 kB / 425.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2922, allocations: 0 / 425.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2922, allocations: 0 / 425.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2922, allocations: 0 / 425.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2925, allocations: 75.89 kB / 425.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.2931, allocations: 315.7 kB / 426 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.2933, allocations: 70.53 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2934, allocations: 32.95 kB / 426.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2934, allocations: 7.938 kB / 426.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2934, allocations: 38.5 kB / 426.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2934, allocations: 0 / 426.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003875/0.2938, allocations: 125.6 kB / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2939, allocations: 51.41 kB / 426.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.294, allocations: 121 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.294, allocations: 25.7 kB / 426.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.2941, allocations: 108 kB / 426.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2941, allocations: 15.91 kB / 426.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.2941, allocations: 21.7 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2943, allocations: 314.8 kB / 426.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.2944, allocations: 28.22 kB / 426.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.2944, allocations: 27.98 kB / 427 MB, free: 9.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2946, allocations: 56.81 kB / 427 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2946, allocations: 8 kB / 427 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002351/0.2949, allocations: 97.48 kB / 427.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2949, allocations: 4 kB / 427.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2949, allocations: 0 / 427.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2949, allocations: 4 kB / 427.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.295, allocations: 19.97 kB / 427.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.295, allocations: 0 / 427.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.2951, allocations: 12 kB / 427.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2951, allocations: 7.984 kB / 427.2 MB, free: 9.594 MB / 334.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 9.324e-05/0.2952, allocations: 113.8 kB / 427.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2952, allocations: 11.89 kB / 427.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.2955, allocations: 105.6 kB / 427.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2955, allocations: 4 kB / 427.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2955, allocations: 0 / 427.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2955, allocations: 0 / 427.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2957, allocations: 168.7 kB / 427.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2957, allocations: 0 / 427.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2958, allocations: 19.92 kB / 427.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2959, allocations: 0 / 427.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2959, allocations: 4.25 kB / 427.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2959, allocations: 3.938 kB / 427.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2959, allocations: 7.984 kB / 427.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2962, allocations: 199.3 kB / 427.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.2962, allocations: 11.89 kB / 427.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2962, allocations: 4 kB / 427.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2963, allocations: 11.98 kB / 427.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.2963, allocations: 7.969 kB / 427.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2963, allocations: 4 kB / 427.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.2964, allocations: 95.27 kB / 427.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2964, allocations: 0 / 427.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.2966, allocations: 12 kB / 427.9 MB, free: 8.746 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: 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.0007749/0.2974, allocations: 0.7592 MB / 428.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.2977, allocations: 67.92 kB / 428.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2977, allocations: 4 kB / 428.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2978, allocations: 31.98 kB / 428.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2981, allocations: 6.953 kB / 428.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2999, allocations: 1.484 MB / 430.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.3, allocations: 83.75 kB / 430.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.3, allocations: 7.984 kB / 430.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.3001, allocations: 19.44 kB / 430.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3001, allocations: 0 / 430.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3284, allocations: 2.564 MB / 433 MB, free: 3.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.65, allocations: 2.578 kB / 433 MB, free: 3.738 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.134516344871372]