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.001519/0.001519, allocations: 102.7 kB / 21.93 MB, free: 5.203 MB / 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.001634/0.001634, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.629/1.629, allocations: 207.7 MB / 236.1 MB, free: 9.789 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: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") [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.001871/0.001871, allocations: 62.52 kB / 348.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 49.15 MB / 397.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003374/0.3223, allocations: 1.78 MB / 399.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3246, allocations: 1.22 MB / 400.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3247, allocations: 6.125 kB / 400.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3249, allocations: 19.31 kB / 400.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.325, allocations: 26.92 kB / 400.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.3262, allocations: 324.5 kB / 401 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.3265, allocations: 220.5 kB / 401.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.3266, allocations: 50.16 kB / 401.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3268, allocations: 97.58 kB / 401.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3269, allocations: 104.2 kB / 401.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.327, allocations: 21.47 kB / 401.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006731/0.3277, allocations: 328.7 kB / 401.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.3277, allocations: 64.09 kB / 401.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3278, allocations: 81.16 kB / 401.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.3285, allocations: 404.8 kB / 402.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3285, allocations: 0 / 402.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3285, allocations: 1.25 kB / 402.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3285, allocations: 0 / 402.3 MB, free: 6.645 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.00112/0.3296, allocations: 0.506 MB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3296, allocations: 13.98 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.3299, allocations: 33.75 kB / 402.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3301, allocations: 186.9 kB / 403.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.3301, allocations: 18.41 kB / 403.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.3302, allocations: 16.66 kB / 403.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.3306, allocations: 206.9 kB / 403.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3306, allocations: 1.188 kB / 403.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3307, allocations: 5.125 kB / 403.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3307, allocations: 3.469 kB / 403.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3311, allocations: 156.1 kB / 403.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.3321, allocations: 467.4 kB / 403.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3331, allocations: 296.1 kB / 404.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3334, allocations: 111.2 kB / 404.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3335, allocations: 2.938 kB / 404.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.3339, allocations: 167.4 kB / 404.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/0.3339, allocations: 0 / 404.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001003/0.3349, allocations: 363.5 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3349, allocations: 62.27 kB / 404.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3351, allocations: 188.3 kB / 405.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.3351, allocations: 41.53 kB / 405.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.3352, allocations: 132.1 kB / 405.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.3353, allocations: 79.98 kB / 405.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3354, allocations: 68.31 kB / 405.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.3354, allocations: 331.5 kB / 405.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3358, allocations: 132.2 kB / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.3362, allocations: 164.4 kB / 406 MB, free: 4.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.3368, allocations: 267.5 kB / 406.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3368, allocations: 0 / 406.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008805/0.3377, allocations: 380.3 kB / 406.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3377, allocations: 5.656 kB / 406.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3377, allocations: 2.781 kB / 406.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3378, allocations: 1.375 kB / 406.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.3381, allocations: 71.22 kB / 406.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3381, allocations: 2.062 kB / 406.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3383, allocations: 40.61 kB / 406.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3383, allocations: 13.72 kB / 406.8 MB, free: 4.16 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.0001507/0.3384, allocations: 141.8 kB / 406.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3385, allocations: 28.52 kB / 406.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.3385, allocations: 22.83 kB / 407 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3386, allocations: 1.469 kB / 407 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3386, allocations: 0.8125 kB / 407 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3386, allocations: 2.062 kB / 407 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3397, allocations: 0.551 MB / 407.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3397, allocations: 5.953 kB / 407.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.34, allocations: 45.17 kB / 407.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.34, allocations: 1.625 kB / 407.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.34, allocations: 7.141 kB / 407.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.34, allocations: 1.75 kB / 407.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.34, allocations: 0 / 407.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3411, allocations: 491.1 kB / 408 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.3411, allocations: 18.47 kB / 408.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3412, allocations: 15.02 kB / 408.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3414, allocations: 20.45 kB / 408.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3414, allocations: 20.14 kB / 408.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.3415, allocations: 7.328 kB / 408.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3416, allocations: 136.8 kB / 408.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3416, allocations: 0 / 408.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.3422, allocations: 104.5 kB / 408.4 MB, free: 3.25 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.0007299/0.3429, allocations: 295.1 kB / 408.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007734/0.3437, allocations: 266.7 kB / 408.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3437, allocations: 0 / 408.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.344, allocations: 111.6 kB / 409 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3443, allocations: 20.52 kB / 409 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.3452, allocations: 492.5 kB / 409.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3454, allocations: 134 kB / 409.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.3455, allocations: 30.77 kB / 409.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3455, allocations: 1.156 kB / 409.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of Templates: time 0.007074/0.3526, allocations: 4.193 MB / 413.9 MB, free: 404 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.503629380837083]