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.001292/0.001292, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001435/0.001435, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001566/0.001566, allocations: 48.02 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2991, allocations: 53.36 MB / 431.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00298/0.3021, allocations: 1.616 MB / 432.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3032, allocations: 0.5766 MB / 433.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3032, allocations: 4 kB / 433.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3032, allocations: 7.875 kB / 433.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.3033, allocations: 11.88 kB / 433.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3036, allocations: 55.81 kB / 433.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3037, allocations: 47.86 kB / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3038, allocations: 23.98 kB / 433.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.3039, allocations: 19.86 kB / 433.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.3039, allocations: 27.86 kB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.304, allocations: 8 kB / 433.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.3042, allocations: 55.89 kB / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.3042, allocations: 19.86 kB / 433.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.3042, allocations: 19.88 kB / 433.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3044, allocations: 91.98 kB / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3044, allocations: 0 / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3044, allocations: 0 / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3044, allocations: 0 / 433.7 MB, free: 4.402 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.0004719/0.3049, allocations: 302 kB / 434 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3049, allocations: 16.03 kB / 434 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.305, allocations: 46.62 kB / 434.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.3054, allocations: 48.84 kB / 434.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3056, allocations: 118.4 kB / 434.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3056, allocations: 8.375 kB / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3056, allocations: 4.375 kB / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3059, allocations: 97.77 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3059, allocations: 0 / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3059, allocations: 7.938 kB / 434.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3059, allocations: 4 kB / 434.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.3061, allocations: 71.94 kB / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.3067, allocations: 335.5 kB / 434.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3069, allocations: 70.53 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.307, allocations: 32.97 kB / 434.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3071, allocations: 7.969 kB / 434.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3071, allocations: 34.55 kB / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3071, allocations: 4 kB / 434.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004751/0.3076, allocations: 125.5 kB / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3076, allocations: 55.39 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3077, allocations: 129.8 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3077, allocations: 25.7 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.3078, allocations: 100 kB / 435.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3078, allocations: 19.91 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.3079, allocations: 21.7 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.308, allocations: 310.8 kB / 435.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.3081, allocations: 31.97 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.3082, allocations: 23.98 kB / 435.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3084, allocations: 60.81 kB / 435.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3084, allocations: 3.938 kB / 435.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002399/0.3086, allocations: 93.98 kB / 435.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3086, allocations: 4 kB / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3086, allocations: 0 / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3087, allocations: 7.984 kB / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3088, allocations: 23.98 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3088, allocations: 4 kB / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.3089, allocations: 23.81 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.309, allocations: 0 / 435.9 MB, free: 1.98 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.992e-05/0.3091, allocations: 113.8 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3091, allocations: 4 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.3094, allocations: 117.6 kB / 436.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3094, allocations: 4 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3094, allocations: 0 / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3094, allocations: 0 / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3096, allocations: 168.7 kB / 436.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3096, allocations: 0 / 436.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3098, allocations: 15.98 kB / 436.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3098, allocations: 4 kB / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3098, allocations: 7.875 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3098, allocations: 0 / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3098, allocations: 7.984 kB / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.3101, allocations: 191.5 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.3101, allocations: 3.953 kB / 436.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3101, allocations: 3.938 kB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3102, allocations: 15.98 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.3102, allocations: 7.984 kB / 436.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3102, allocations: 4 kB / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.876e-05/0.3103, allocations: 91.27 kB / 436.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3103, allocations: 4 kB / 436.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.3105, allocations: 19.89 kB / 436.7 MB, free: 1.133 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.0007356/0.3113, allocations: 0.7672 MB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3115, allocations: 63.89 kB / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3115, allocations: 0 / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3116, allocations: 39.91 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3119, allocations: 8 kB / 437.6 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3137, allocations: 1.46 MB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.314, allocations: 0.6963 MB / 439.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.3141, allocations: 7.984 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.3141, allocations: 23.44 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3141, allocations: 0 / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3421, allocations: 2.053 MB / 441.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.44, allocations: 4.062 kB / 441.8 MB, free: 12.02 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.963386765000905]