Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.001371/0.001371, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001515/0.001515, allocations: 187 kB / 18.67 MB, free: 4.402 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.521/1.521, 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.001385/0.001385, allocations: 63.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 46.61 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003609/0.1125, allocations: 1.828 MB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1147, allocations: 1.014 MB / 377.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1149, allocations: 0 / 377.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1151, allocations: 15.75 kB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1153, allocations: 39.7 kB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.1161, allocations: 191.4 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1165, allocations: 223.5 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1167, allocations: 60.27 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1168, allocations: 99.61 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.117, allocations: 119.5 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.1171, allocations: 24 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1174, allocations: 143.8 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1175, allocations: 55.83 kB / 378.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1176, allocations: 103.4 kB / 378.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.1182, allocations: 302.8 kB / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1182, allocations: 0 / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1182, allocations: 0 / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1182, allocations: 0 / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00142/0.1196, allocations: 0.5657 MB / 379.4 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1197, allocations: 8.031 kB / 379.4 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1198, allocations: 58.55 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.1201, allocations: 44.72 kB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.212/0.3321, allocations: 234.4 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.3322, allocations: 15.19 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.3323, allocations: 24.27 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.3329, allocations: 205 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3329, allocations: 0 / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3329, allocations: 5.906 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3329, allocations: 3.812 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.3334, allocations: 156.1 kB / 380.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3344, allocations: 0.5826 MB / 380.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3355, allocations: 300.6 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.3359, allocations: 115.4 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3359, allocations: 5.562 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.3363, allocations: 169.1 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.3363, allocations: 0 / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00118/0.3375, allocations: 355 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3376, allocations: 68.11 kB / 381.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3379, allocations: 209 kB / 381.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.338, allocations: 40.91 kB / 382 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.3381, allocations: 132.4 kB / 382.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.3381, allocations: 75.89 kB / 382.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3383, allocations: 70.5 kB / 382.2 MB, free: 12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3384, allocations: 331.7 kB / 382.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.3389, allocations: 134 kB / 382.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.3393, allocations: 165.4 kB / 382.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.3401, allocations: 269.1 kB / 383.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3401, allocations: 1.156 kB / 383.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000995/0.3411, allocations: 382 kB / 383.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3412, allocations: 6.375 kB / 383.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3412, allocations: 3.172 kB / 383.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.3412, allocations: 2.188 kB / 383.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.3416, allocations: 70.34 kB / 383.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3416, allocations: 1.156 kB / 383.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3418, allocations: 40.88 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.3418, allocations: 15.28 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001685/0.342, allocations: 144.2 kB / 383.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.3421, allocations: 27.52 kB / 383.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.3421, allocations: 19.67 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3422, allocations: 2.5 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.3422, allocations: 4.891 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3422, allocations: 0.75 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.3435, allocations: 0.6349 MB / 384.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3435, allocations: 0 / 384.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3438, allocations: 53 kB / 384.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3438, allocations: 2.531 kB / 384.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3438, allocations: 7.25 kB / 384.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3438, allocations: 2.031 kB / 384.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3438, allocations: 0.7031 kB / 384.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3449, allocations: 490.1 kB / 385 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3449, allocations: 98.89 kB / 385.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.345, allocations: 9.094 kB / 385.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3452, allocations: 21.42 kB / 385.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3453, allocations: 23.48 kB / 385.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3453, allocations: 9.594 kB / 385.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3455, allocations: 149.8 kB / 385.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 1.031 kB / 385.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.3459, allocations: 77.81 kB / 385.4 MB, free: 10.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001641/0.3475, allocations: 1.127 MB / 386.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008047/0.3484, allocations: 285.1 kB / 386.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3484, allocations: 0 / 386.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3487, allocations: 118.6 kB / 386.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3491, allocations: 30.73 kB / 386.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.3537, allocations: 2.813 MB / 389.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.354, allocations: 0.7397 MB / 390.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.3541, allocations: 33.47 kB / 390.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3543, allocations: 68.31 kB / 390.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3543, allocations: 0 / 390.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.3897, allocations: 5.489 MB / 396.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.208, allocations: 13.98 kB / 396.1 MB, free: 5.641 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches