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.001717/0.001717, allocations: 108.4 kB / 17.73 MB, free: 5.188 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.001894/0.001894, allocations: 188.2 kB / 18.67 MB, free: 4.254 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.545/1.545, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001863/0.001863, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1118, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003404/0.1153, allocations: 1.522 MB / 376.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1182, allocations: 1.462 MB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1183, allocations: 0 / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1185, allocations: 11.81 kB / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1186, allocations: 27.78 kB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.12, allocations: 390.8 kB / 378.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.1203, allocations: 131.6 kB / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.1204, allocations: 13.5 kB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1205, allocations: 59.77 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1206, allocations: 71.61 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1206, allocations: 12 kB / 378.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.1216, allocations: 411.3 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.1217, allocations: 43.83 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.1218, allocations: 63.59 kB / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.1227, allocations: 414.7 kB / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1228, allocations: 0 / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.1228, allocations: 0 / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1228, allocations: 0 / 379.3 MB, free: 456 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.2223/0.3451, allocations: 0.5198 MB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3452, allocations: 10.89 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.3453, allocations: 41.06 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.3456, allocations: 30.38 kB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3458, allocations: 206.4 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3458, allocations: 13.41 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3458, allocations: 12 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3462, allocations: 129.9 kB / 380.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3462, allocations: 5.281 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3462, allocations: 4.828 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3462, allocations: 2.625 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.3465, allocations: 65.03 kB / 380.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.3473, allocations: 0.5607 MB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.3476, allocations: 152.7 kB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3478, allocations: 65.52 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3478, allocations: 4.766 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.3482, allocations: 155.2 kB / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3483, allocations: 1.344 kB / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006197/0.3489, allocations: 248.9 kB / 381.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.349, allocations: 122 kB / 381.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3492, allocations: 193.5 kB / 381.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3492, allocations: 49.45 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.3493, allocations: 112.5 kB / 381.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3493, allocations: 42.81 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.3494, allocations: 61.48 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.3495, allocations: 337.4 kB / 382.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3497, allocations: 99.81 kB / 382.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.35, allocations: 143.6 kB / 382.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.3504, allocations: 233.3 kB / 382.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3505, allocations: 0 / 382.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006574/0.3511, allocations: 308.1 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3511, allocations: 5.281 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3512, allocations: 1.984 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3512, allocations: 4.719 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.3514, allocations: 34.72 kB / 383.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3514, allocations: 2.25 kB / 383.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.3515, allocations: 34.45 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3515, allocations: 10.84 kB / 383.2 MB, free: 11 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.0001497/0.3517, allocations: 148 kB / 383.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3517, allocations: 14.73 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.3517, allocations: 15.97 kB / 383.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3518, allocations: 1.75 kB / 383.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3518, allocations: 1.156 kB / 383.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3518, allocations: 2.703 kB / 383.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.352, allocations: 223.9 kB / 383.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.352, allocations: 6.312 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.3521, allocations: 13.59 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3521, allocations: 1 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3521, allocations: 4.875 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3521, allocations: 4 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3521, allocations: 1.953 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.3526, allocations: 244.7 kB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.3526, allocations: 94.34 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.3527, allocations: 12.72 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.3527, allocations: 5.938 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.3528, allocations: 19.94 kB / 384 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3528, allocations: 3.922 kB / 384 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.353, allocations: 137.4 kB / 384.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.353, allocations: 96 / 384.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.3535, allocations: 140.1 kB / 384.3 MB, free: 10.26 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.00155/0.3551, allocations: 1.075 MB / 385.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.3556, allocations: 200.6 kB / 385.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3556, allocations: 0 / 385.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3558, allocations: 61.94 kB / 385.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.356, allocations: 17.39 kB / 385.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.3589, allocations: 2.347 MB / 388 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3591, allocations: 0.7143 MB / 388.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9e-05/0.3592, allocations: 26.06 kB / 388.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.3593, allocations: 44.53 kB / 388.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3593, allocations: 5.062 kB / 388.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.3941, allocations: 5.614 MB / 394.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.747, allocations: 1.531 kB / 394.4 MB, free: 6.148 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