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.002228/0.002228, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001991/0.001991, allocations: 212.4 kB / 23.73 MB, free: 4.523 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001513/0.001513, allocations: 43.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2928, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003153/0.296, allocations: 1.576 MB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2971, allocations: 0.5415 MB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.2972, allocations: 0 / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2972, allocations: 7.922 kB / 433.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.2973, allocations: 11.88 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2976, allocations: 51.83 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2977, allocations: 59.72 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2978, allocations: 15.98 kB / 433.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.2979, allocations: 19.94 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.2979, allocations: 35.83 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.298, allocations: 4 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.2982, allocations: 51.91 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2982, allocations: 15.92 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2983, allocations: 23.86 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.2985, allocations: 89.27 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2985, allocations: 0 / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2985, allocations: 0 / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2985, allocations: 0 / 433.6 MB, free: 4.105 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.0005052/0.299, allocations: 306 kB / 433.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.299, allocations: 8.031 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.2991, allocations: 42.7 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.2995, allocations: 48.83 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2996, allocations: 122.4 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2996, allocations: 4.375 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.2997, allocations: 8.375 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.2999, allocations: 101.8 kB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2999, allocations: 0 / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2999, allocations: 4 kB / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2999, allocations: 0 / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3002, allocations: 71.89 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3008, allocations: 323.6 kB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.301, allocations: 82.41 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3011, allocations: 32.95 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3011, allocations: 0 / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3011, allocations: 38.56 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3011, allocations: 0 / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004399/0.3016, allocations: 129.5 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3016, allocations: 51.41 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3017, allocations: 122.1 kB / 435 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3017, allocations: 29.7 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.3018, allocations: 100 kB / 435.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3018, allocations: 19.89 kB / 435.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3019, allocations: 13.72 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.302, allocations: 322.8 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.3021, allocations: 19.98 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.3022, allocations: 35.97 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3024, allocations: 57.2 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3024, allocations: 4 kB / 435.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002497/0.3027, allocations: 101.5 kB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3027, allocations: 8 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3027, allocations: 0 / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3027, allocations: 7.938 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3028, allocations: 15.98 kB / 435.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3028, allocations: 4 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.3029, allocations: 15.88 kB / 435.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3029, allocations: 4 kB / 435.8 MB, free: 1.699 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 8.99e-05/0.303, allocations: 113.8 kB / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.303, allocations: 0 / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.3034, allocations: 121.6 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3034, allocations: 0 / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3034, allocations: 4 kB / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3034, allocations: 0 / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3036, allocations: 160.7 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3036, allocations: 0 / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3037, allocations: 15.98 kB / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3037, allocations: 0 / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3037, allocations: 7.875 kB / 436.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3037, allocations: 8 kB / 436.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3037, allocations: 0 / 436.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.304, allocations: 191.5 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.304, allocations: 11.89 kB / 436.4 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.304, allocations: 4.125 kB / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3041, allocations: 15.98 kB / 436.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.3042, allocations: 3.984 kB / 436.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3042, allocations: 4 kB / 436.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.3043, allocations: 106.3 kB / 436.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3043, allocations: 0 / 436.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3045, allocations: 15.89 kB / 436.6 MB, free: 0.8555 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.0007507/0.3052, allocations: 0.7515 MB / 437.3 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3055, allocations: 79.86 kB / 437.4 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3055, allocations: 0 / 437.4 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3056, allocations: 32.06 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.306, allocations: 11.98 kB / 437.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3078, allocations: 1.472 MB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.3079, allocations: 79.67 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.3079, allocations: 8 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.308, allocations: 27.42 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.308, allocations: 0 / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3393, allocations: 2.52 MB / 441.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.26, allocations: 7.984 kB / 441.5 MB, free: 11.88 MB / 350.1 MB " [Timeout remaining time 649] (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.793746948998887]