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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 51.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3094, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002985/0.3124, allocations: 1.78 MB / 398.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3147, allocations: 1.216 MB / 399.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3148, allocations: 2.656 kB / 399.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.315, allocations: 19.03 kB / 399.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3151, allocations: 31.98 kB / 399.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3162, allocations: 326.6 kB / 399.7 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.3164, allocations: 221.1 kB / 399.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3166, allocations: 50.92 kB / 400 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3167, allocations: 97.22 kB / 400.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3169, allocations: 105.1 kB / 400.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.3169, allocations: 25.41 kB / 400.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.3175, allocations: 328.2 kB / 400.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.3176, allocations: 64.39 kB / 400.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.3177, allocations: 81.5 kB / 400.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.3183, allocations: 399.5 kB / 401.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3183, allocations: 1.031 kB / 401.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3183, allocations: 0 / 401.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3183, allocations: 0 / 401.1 MB, free: 6.156 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.001084/0.3194, allocations: 0.5095 MB / 401.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3194, allocations: 13.14 kB / 401.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.3195, allocations: 55.61 kB / 401.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.3197, allocations: 41.98 kB / 401.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.32, allocations: 181.2 kB / 401.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.32, allocations: 20.12 kB / 401.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.32, allocations: 21.64 kB / 401.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.3205, allocations: 207.5 kB / 402.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3205, allocations: 0 / 402.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3205, allocations: 5.469 kB / 402.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3205, allocations: 4.438 kB / 402.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.321, allocations: 148.2 kB / 402.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.3219, allocations: 0.5032 MB / 402.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.323, allocations: 301.8 kB / 403.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.3233, allocations: 106.1 kB / 403.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3233, allocations: 14.31 kB / 403.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.3237, allocations: 160 kB / 403.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3237, allocations: 0 / 403.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00097/0.3247, allocations: 364.7 kB / 403.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3248, allocations: 58.47 kB / 403.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.325, allocations: 211.8 kB / 404 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.325, allocations: 41.14 kB / 404 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.3251, allocations: 129.2 kB / 404.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3251, allocations: 79.08 kB / 404.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3252, allocations: 71.94 kB / 404.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.3253, allocations: 337 kB / 404.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.3256, allocations: 128.5 kB / 404.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.326, allocations: 157.3 kB / 404.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.3266, allocations: 275.2 kB / 405.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3266, allocations: 0 / 405.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007613/0.3273, allocations: 383.9 kB / 405.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3274, allocations: 5.656 kB / 405.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3274, allocations: 4.688 kB / 405.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3274, allocations: 2.75 kB / 405.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.3277, allocations: 65.94 kB / 405.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.3277, allocations: 7.531 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3278, allocations: 45.06 kB / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3279, allocations: 8.75 kB / 405.7 MB, free: 3.562 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.0001192/0.328, allocations: 154.4 kB / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.328, allocations: 16.16 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.3281, allocations: 25.11 kB / 405.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3281, allocations: 5.688 kB / 405.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3281, allocations: 0 / 405.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3281, allocations: 6.734 kB / 405.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3292, allocations: 0.5807 MB / 406.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3292, allocations: 5.984 kB / 406.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.3294, allocations: 48.48 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3294, allocations: 2.062 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3294, allocations: 3.578 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3294, allocations: 1.5 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3294, allocations: 0 / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009376/0.3304, allocations: 489.3 kB / 407 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.3304, allocations: 31.95 kB / 407 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.3305, allocations: 5.297 kB / 407 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3306, allocations: 26.19 kB / 407 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.3307, allocations: 12.17 kB / 407 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3307, allocations: 10 kB / 407.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.3308, allocations: 149.4 kB / 407.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3308, allocations: 0 / 407.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.3314, allocations: 104.6 kB / 407.3 MB, free: 2.609 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.002045/0.3335, allocations: 1.21 MB / 408.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008373/0.3343, allocations: 278.9 kB / 408.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3343, allocations: 3.938 kB / 408.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.3347, allocations: 106.1 kB / 408.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.335, allocations: 33.61 kB / 408.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.3392, allocations: 2.812 MB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.3393, allocations: 130.3 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.3395, allocations: 32.06 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.3396, allocations: 67.72 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3396, allocations: 2.625 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.377, allocations: 6.915 MB / 418.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.24, allocations: 13.31 kB / 418.9 MB, free: 11.64 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.004 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.17908322205767]