Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.001491/0.001491, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001521/0.001521, allocations: 191 kB / 18.66 MB, free: 4.445 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.395/1.395, 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.001389/0.001389, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003484/0.1086, allocations: 1.832 MB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1111, allocations: 1.279 MB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1113, allocations: 0 / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1114, allocations: 19.73 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1116, allocations: 31.67 kB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1127, allocations: 311.1 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.1131, allocations: 223.5 kB / 378.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1133, allocations: 60.56 kB / 378.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1135, allocations: 99.61 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1137, allocations: 115.5 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1137, allocations: 20 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.1143, allocations: 287.5 kB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1144, allocations: 63.81 kB / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1145, allocations: 107.4 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.1152, allocations: 394.9 kB / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1152, allocations: 0 / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1152, allocations: 0 / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1153, allocations: 0 / 379.5 MB, free: 232 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.2007/0.316, allocations: 0.5717 MB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.3161, allocations: 10.61 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.3162, allocations: 58.53 kB / 380.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/0.3167, allocations: 36.05 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.317, allocations: 239.3 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.3171, allocations: 16.44 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.3172, allocations: 20.14 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.3178, allocations: 204.3 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3178, allocations: 3.938 kB / 380.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3179, allocations: 8.812 kB / 380.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.3179, allocations: 5.141 kB / 380.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.3183, allocations: 149.3 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3194, allocations: 0.5793 MB / 381.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3206, allocations: 304.8 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.321, allocations: 116.1 kB / 381.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.321, allocations: 6.469 kB / 381.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.3215, allocations: 165.6 kB / 381.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.998e-06/0.3215, allocations: 0 / 381.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001186/0.3227, allocations: 363 kB / 382.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3228, allocations: 57.78 kB / 382.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.323, allocations: 210.8 kB / 382.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.3231, allocations: 40.91 kB / 382.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.3232, allocations: 138.1 kB / 382.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.3233, allocations: 73.39 kB / 382.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3234, allocations: 65.84 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.3235, allocations: 335.7 kB / 383.2 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.3238, allocations: 127.6 kB / 383.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.3242, allocations: 163.9 kB / 383.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3249, allocations: 273.7 kB / 383.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3249, allocations: 0.875 kB / 383.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008682/0.3258, allocations: 380.9 kB / 384.1 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3258, allocations: 8.906 kB / 384.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3258, allocations: 0 / 384.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.3259, allocations: 2.562 kB / 384.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.3262, allocations: 66.98 kB / 384.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3262, allocations: 3.844 kB / 384.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3264, allocations: 42.23 kB / 384.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3264, allocations: 14.38 kB / 384.2 MB, free: 10.98 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.0001395/0.3266, allocations: 152 kB / 384.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.3266, allocations: 16.27 kB / 384.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.3267, allocations: 23.86 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3267, allocations: 2.562 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3267, allocations: 0 / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3268, allocations: 2.391 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.328, allocations: 0.6482 MB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3281, allocations: 2 kB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3283, allocations: 44.48 kB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3284, allocations: 1.406 kB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.3284, allocations: 7.469 kB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3284, allocations: 6 kB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3284, allocations: 0 / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3295, allocations: 483.2 kB / 385.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3296, allocations: 99.75 kB / 385.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3296, allocations: 9.562 kB / 385.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3298, allocations: 28.61 kB / 385.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.3299, allocations: 12.3 kB / 385.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.3299, allocations: 11.5 kB / 385.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.33, allocations: 148.9 kB / 385.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.33, allocations: 0 / 385.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.3305, allocations: 106 kB / 386 MB, free: 9.91 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.002027/0.3326, allocations: 1.195 MB / 387.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.3335, allocations: 279.7 kB / 387.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3335, allocations: 1.438 kB / 387.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.3339, allocations: 125.8 kB / 387.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3342, allocations: 25.86 kB / 387.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.3387, allocations: 2.819 MB / 390.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3389, allocations: 0.74 MB / 391.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.3391, allocations: 33.06 kB / 391.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3392, allocations: 72.7 kB / 391.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3392, allocations: 0 / 391.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.3709, allocations: 6.281 MB / 397.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.662, allocations: 13.31 kB / 397.6 MB, free: 4.824 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches