Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001516/0.001516, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00247/0.00247, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2988, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00291/0.3017, allocations: 1.584 MB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3027, allocations: 0.5337 MB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.3027, allocations: 0 / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.3028, allocations: 11.88 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.3029, allocations: 15.88 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3031, allocations: 55.81 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3032, allocations: 51.84 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3034, allocations: 15.98 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.3034, allocations: 23.92 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.3035, allocations: 23.8 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3035, allocations: 4 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.3037, allocations: 51.94 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3037, allocations: 11.94 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3038, allocations: 27.86 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.304, allocations: 93.2 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.304, allocations: 4 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.304, allocations: 0 / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.304, allocations: 0 / 433.6 MB, free: 4.137 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.0005058/0.3045, allocations: 294 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3045, allocations: 8.031 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.3046, allocations: 46.69 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.305, allocations: 56.83 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3052, allocations: 118.4 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3052, allocations: 4.375 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3052, allocations: 8.375 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3055, allocations: 100.5 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3055, allocations: 0 / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3055, allocations: 0 / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3055, allocations: 0 / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.3057, allocations: 75.94 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3063, allocations: 327.5 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3065, allocations: 66.53 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.3066, allocations: 28.97 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3066, allocations: 8 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3067, allocations: 38.5 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3067, allocations: 0 / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004201/0.3071, allocations: 121.5 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3071, allocations: 51.41 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3072, allocations: 137 kB / 435 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3073, allocations: 29.7 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3073, allocations: 100 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3073, allocations: 15.91 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.3074, allocations: 17.7 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3075, allocations: 322.8 kB / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.3076, allocations: 27.97 kB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.3077, allocations: 27.98 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3079, allocations: 61.12 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3079, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.3081, allocations: 97.61 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3082, allocations: 4 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3082, allocations: 0 / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3082, allocations: 3.938 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3083, allocations: 23.97 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3083, allocations: 0 / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.3084, allocations: 15.89 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3084, allocations: 11.97 kB / 435.8 MB, free: 1.738 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 0.0001034/0.3085, allocations: 117.8 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3086, allocations: 4 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.3089, allocations: 113.6 kB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3089, allocations: 0 / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3089, allocations: 0 / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3089, allocations: 0 / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3091, allocations: 164.7 kB / 436.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3091, allocations: 0 / 436.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3092, allocations: 15.98 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3092, allocations: 7.984 kB / 436.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3092, allocations: 3.938 kB / 436.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3092, allocations: 0 / 436.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3092, allocations: 3.938 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3095, allocations: 187.5 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3095, allocations: 19.94 kB / 436.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3096, allocations: 4.125 kB / 436.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3097, allocations: 11.98 kB / 436.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.3097, allocations: 4 kB / 436.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3097, allocations: 3.938 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.3098, allocations: 99.27 kB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3098, allocations: 0 / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.31, allocations: 15.89 kB / 436.5 MB, free: 0.8984 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.0007545/0.3107, allocations: 0.767 MB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.311, allocations: 63.94 kB / 437.4 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.311, allocations: 0 / 437.4 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3111, allocations: 39.91 kB / 437.4 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3115, allocations: 11.98 kB / 437.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3133, allocations: 1.46 MB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.3134, allocations: 86.33 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3135, allocations: 8 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3135, allocations: 27.42 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3135, allocations: 0 / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3421, allocations: 2.484 MB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.48, allocations: 7.734 kB / 441.5 MB, free: 11.96 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.977540575899184]