Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001672/0.001672, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002022/0.002022, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 53.32 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002888/0.116, allocations: 1.552 MB / 427.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1186, allocations: 1.496 MB / 429.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.1187, allocations: 0 / 429.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1188, allocations: 15.81 kB / 429.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.1189, allocations: 23.8 kB / 429.4 MB, free: 1.688 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1202, allocations: 390.8 kB / 429.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1205, allocations: 139.6 kB / 429.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.1205, allocations: 5.5 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.1206, allocations: 55.77 kB / 430 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.1212, allocations: 94.44 kB / 430.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1212, allocations: 8 kB / 430.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000702/0.1219, allocations: 431.2 kB / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.122, allocations: 43.77 kB / 430.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.1221, allocations: 55.67 kB / 430.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.1227, allocations: 406.7 kB / 431 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1227, allocations: 0 / 431 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1227, allocations: 4 kB / 431 MB, free: 88 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1227, allocations: 7.938 kB / 431 MB, free: 80 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.2057/0.3284, allocations: 0.5172 MB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3285, allocations: 12.84 kB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.3285, allocations: 40.8 kB / 431.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.3288, allocations: 30.23 kB / 431.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3289, allocations: 207.2 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.329, allocations: 11.47 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.329, allocations: 8.422 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.3293, allocations: 129 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3293, allocations: 5.625 kB / 432 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3293, allocations: 5.406 kB / 432 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3293, allocations: 2.656 kB / 432 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.3295, allocations: 66.5 kB / 432 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.3303, allocations: 0.5558 MB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3306, allocations: 149 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3307, allocations: 61.03 kB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3308, allocations: 1.625 kB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.3311, allocations: 157.1 kB / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.3311, allocations: 0 / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006022/0.3317, allocations: 243.4 kB / 433.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.3317, allocations: 124.8 kB / 433.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3319, allocations: 201.2 kB / 433.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3319, allocations: 50.84 kB / 433.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.332, allocations: 116.5 kB / 433.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.332, allocations: 41.03 kB / 433.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3321, allocations: 58.25 kB / 433.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.3322, allocations: 341.1 kB / 434.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3323, allocations: 95.8 kB / 434.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3325, allocations: 132.3 kB / 434.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3329, allocations: 223.8 kB / 434.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3329, allocations: 0 / 434.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004948/0.3333, allocations: 309.7 kB / 434.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3334, allocations: 5.75 kB / 434.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3334, allocations: 1.188 kB / 434.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3334, allocations: 2.969 kB / 434.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3335, allocations: 34.91 kB / 434.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3336, allocations: 4.031 kB / 434.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.3336, allocations: 25.83 kB / 434.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.3337, allocations: 12.73 kB / 434.9 MB, free: 9.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001181/0.3338, allocations: 149.7 kB / 435.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3338, allocations: 14.41 kB / 435.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3339, allocations: 18.95 kB / 435.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3339, allocations: 2.156 kB / 435.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3339, allocations: 1.094 kB / 435.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3339, allocations: 2.875 kB / 435.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.334, allocations: 224.4 kB / 435.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.334, allocations: 0 / 435.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.3341, allocations: 19.56 kB / 435.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3341, allocations: 6.844 kB / 435.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3341, allocations: 2.125 kB / 435.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3341, allocations: 1.125 kB / 435.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3341, allocations: 1.031 kB / 435.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.3345, allocations: 239.5 kB / 435.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.3345, allocations: 100.2 kB / 435.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.3346, allocations: 13.59 kB / 435.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.3346, allocations: 6.828 kB / 435.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.3347, allocations: 17.33 kB / 435.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.3347, allocations: 4.328 kB / 435.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3349, allocations: 139.7 kB / 435.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 320 / 435.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.3353, allocations: 134.1 kB / 436 MB, free: 8.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001437/0.3368, allocations: 1.054 MB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004945/0.3372, allocations: 185.5 kB / 437.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3372, allocations: 0 / 437.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3374, allocations: 57.88 kB / 437.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3376, allocations: 12.27 kB / 437.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.3404, allocations: 2.318 MB / 439.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.3405, allocations: 0.7234 MB / 440.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.3406, allocations: 24.47 kB / 440.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.3407, allocations: 45.12 kB / 440.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3407, allocations: 0 / 440.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.3742, allocations: 5.541 MB / 446 MB, free: 4.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.51, allocations: 4.906 kB / 446 MB, free: 4.766 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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: 11.210273936012527]