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.001527/0.001527, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001356/0.001356, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.00173/0.00173, allocations: 55.91 kB / 328 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.115, allocations: 46.61 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004163/0.1193, allocations: 1.828 MB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1217, allocations: 1.01 MB / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1219, allocations: 4 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.1221, allocations: 15.75 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1223, allocations: 39.7 kB / 377.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.1231, allocations: 183.5 kB / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1234, allocations: 223.4 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1236, allocations: 72.23 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1237, allocations: 95.62 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1239, allocations: 123.4 kB / 378.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1239, allocations: 20 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1242, allocations: 143.8 kB / 378.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.1243, allocations: 55.83 kB / 378.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1245, allocations: 99.44 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.125, allocations: 306.8 kB / 378.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.125, allocations: 0 / 378.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.125, allocations: 0 / 378.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.125, allocations: 0 / 378.8 MB, free: 0.8281 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.001331/0.1264, allocations: 0.5657 MB / 379.4 MB, free: 220 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1264, allocations: 12.03 kB / 379.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1265, allocations: 54.55 kB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.1267, allocations: 36.78 kB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1944/0.3211, allocations: 235.7 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.3212, allocations: 16.38 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.3213, allocations: 22.81 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.3218, allocations: 209.9 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3218, allocations: 0 / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3219, allocations: 5.25 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3219, allocations: 7.906 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.3223, allocations: 155.8 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.3233, allocations: 0.5773 MB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.3243, allocations: 305 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.3246, allocations: 111.8 kB / 381.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3246, allocations: 13.61 kB / 381.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.325, allocations: 169.5 kB / 381.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.325, allocations: 0 / 381.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001078/0.3261, allocations: 353 kB / 381.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3261, allocations: 62.27 kB / 381.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3263, allocations: 209.9 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.3264, allocations: 40.58 kB / 382 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.3265, allocations: 131.5 kB / 382.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.3265, allocations: 80.97 kB / 382.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3266, allocations: 66.06 kB / 382.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.3267, allocations: 335.9 kB / 382.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.3272, allocations: 132.8 kB / 382.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.3275, allocations: 166.4 kB / 382.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.3282, allocations: 268.3 kB / 383.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3282, allocations: 0.875 kB / 383.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007773/0.3289, allocations: 378.6 kB / 383.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.329, allocations: 13.3 kB / 383.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.329, allocations: 3.172 kB / 383.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.329, allocations: 2.219 kB / 383.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.3293, allocations: 66.53 kB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3293, allocations: 1.906 kB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3295, allocations: 45.55 kB / 383.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.3295, allocations: 11.19 kB / 383.6 MB, free: 11.31 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.0001204/0.3297, allocations: 147 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.3297, allocations: 24.59 kB / 383.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.3298, allocations: 21.47 kB / 383.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3298, allocations: 0.9375 kB / 383.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3298, allocations: 1.094 kB / 383.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3298, allocations: 6.469 kB / 383.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.3309, allocations: 0.6328 MB / 384.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3309, allocations: 0.7969 kB / 384.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3311, allocations: 53.39 kB / 384.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3312, allocations: 0 / 384.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3312, allocations: 9.016 kB / 384.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3312, allocations: 0.6562 kB / 384.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3312, allocations: 0 / 384.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3322, allocations: 488.3 kB / 385 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3323, allocations: 101.8 kB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3323, allocations: 9.094 kB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3325, allocations: 22.52 kB / 385.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3326, allocations: 22.31 kB / 385.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3326, allocations: 5.688 kB / 385.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3327, allocations: 154.8 kB / 385.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.3328, allocations: 0 / 385.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.3332, allocations: 76.53 kB / 385.4 MB, free: 10.24 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.001759/0.3349, allocations: 1.134 MB / 386.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.3357, allocations: 288.2 kB / 386.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3357, allocations: 1.062 kB / 386.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.3361, allocations: 118.2 kB / 386.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3364, allocations: 29.91 kB / 386.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.3405, allocations: 2.806 MB / 389.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3408, allocations: 0.7401 MB / 390.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3409, allocations: 34.45 kB / 390.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3411, allocations: 68.5 kB / 390.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3411, allocations: 0 / 390.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.3722, allocations: 5.486 MB / 396.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.523, allocations: 9.312 kB / 396.1 MB, free: 5.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 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.mat","/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