Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 110.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1148, allocations: 46.61 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003549/0.1184, allocations: 1.53 MB / 376.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.1212, allocations: 1.454 MB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1214, allocations: 0 / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1216, allocations: 15.81 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1217, allocations: 23.8 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.123, allocations: 394.8 kB / 378.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1232, allocations: 135.6 kB / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.1233, allocations: 5.5 kB / 378.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.1234, allocations: 55.77 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.1235, allocations: 71.61 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1235, allocations: 12 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.1243, allocations: 423.3 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1244, allocations: 31.86 kB / 378.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.1245, allocations: 71.58 kB / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.1253, allocations: 410.7 kB / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1253, allocations: 0 / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1253, allocations: 0 / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1253, allocations: 4 kB / 379.3 MB, free: 460 kB / 318.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.1998/0.3251, allocations: 0.5179 MB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.3252, allocations: 11.5 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.3253, allocations: 41.53 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.3257, allocations: 31.77 kB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3258, allocations: 205.9 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3259, allocations: 8.109 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.3259, allocations: 15.14 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3262, allocations: 131.2 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3263, allocations: 3.938 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3263, allocations: 5.953 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3263, allocations: 1.375 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.3265, allocations: 70.08 kB / 380.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.3272, allocations: 0.5545 MB / 380.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.3276, allocations: 153.2 kB / 381 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3277, allocations: 65.33 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3278, allocations: 4.156 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.3281, allocations: 155.6 kB / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3281, allocations: 0 / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006091/0.3287, allocations: 254 kB / 381.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3288, allocations: 119.7 kB / 381.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.329, allocations: 199.4 kB / 381.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.329, allocations: 46.77 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3291, allocations: 114.2 kB / 381.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3291, allocations: 39.28 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.3292, allocations: 66.19 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3293, allocations: 332.5 kB / 382.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3295, allocations: 100.2 kB / 382.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.3298, allocations: 151.5 kB / 382.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.3302, allocations: 226.4 kB / 382.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3302, allocations: 4.656 kB / 382.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000643/0.3309, allocations: 304.5 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3309, allocations: 6.344 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3309, allocations: 0 / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3309, allocations: 4.578 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3311, allocations: 31.94 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3311, allocations: 6.25 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3312, allocations: 35.06 kB / 383.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3313, allocations: 11.8 kB / 383.2 MB, free: 10.99 MB / 318.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.0001245/0.3314, allocations: 146.2 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3314, allocations: 15.47 kB / 383.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3315, allocations: 14.77 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3315, allocations: 2.156 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3315, allocations: 5.125 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3315, allocations: 5.031 kB / 383.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.3317, allocations: 224.8 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3317, allocations: 2.078 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.3318, allocations: 11.23 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3318, allocations: 1.344 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3318, allocations: 3.109 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3318, allocations: 1.406 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3318, allocations: 0.6094 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3322, allocations: 244.4 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.3323, allocations: 95.27 kB / 384 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3323, allocations: 12.14 kB / 384 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.3324, allocations: 8 kB / 384 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.3325, allocations: 13.44 kB / 384 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3325, allocations: 12.64 kB / 384 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3326, allocations: 140.6 kB / 384.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3326, allocations: 0 / 384.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.3331, allocations: 129.2 kB / 384.3 MB, free: 10.25 MB / 318.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.001336/0.3345, allocations: 1.083 MB / 385.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.335, allocations: 203.8 kB / 385.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.335, allocations: 192 / 385.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3351, allocations: 67.98 kB / 385.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.3353, allocations: 12.73 kB / 385.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.3381, allocations: 2.34 MB / 388 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.3382, allocations: 0.7196 MB / 388.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.44e-05/0.3384, allocations: 21.95 kB / 388.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.3384, allocations: 45.84 kB / 388.8 MB, free: 7.062 MB / 318.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3384, allocations: 3.938 kB / 388.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.3627, allocations: 5.603 MB / 394.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.223, allocations: 10.12 kB / 394.4 MB, free: 6.137 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches