Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002529/0.002529, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Blocks.Examples.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.756e-05, allocations: 6.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003207/0.003235, allocations: 1.802 MB / 269.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.005578, allocations: 1.227 MB / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.005654, allocations: 0 / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.005763, allocations: 23.73 kB / 270.4 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.005874, allocations: 35.66 kB / 270.4 MB, free: 3.613 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.006775, allocations: 322.9 kB / 270.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.007071, allocations: 215.4 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.007222, allocations: 48.48 kB / 271 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.007407, allocations: 139.6 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.007984, allocations: 109.1 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.008031, allocations: 20 kB / 271.3 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.008598, allocations: 319.3 kB / 271.6 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.008678, allocations: 55.83 kB / 271.6 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.008778, allocations: 75.73 kB / 271.7 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.009433, allocations: 430.7 kB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.009437, allocations: 4 kB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.009438, allocations: 0 / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.009443, allocations: 0 / 272.1 MB, free: 1.914 MB / 250.7 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.001175/0.01062, allocations: 0.6171 MB / 272.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01065, allocations: 8.922 kB / 272.7 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.01092, allocations: 44.8 kB / 272.8 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.0112, allocations: 182 kB / 273 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.01123, allocations: 16.66 kB / 273 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.01128, allocations: 23.94 kB / 273 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.01177, allocations: 190.6 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01178, allocations: 0 / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.0118, allocations: 8 kB / 273.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.01181, allocations: 0 / 273.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.01227, allocations: 136.5 kB / 273.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01344, allocations: 0.5461 MB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.01459, allocations: 311.2 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.01492, allocations: 107.6 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.01494, allocations: 4 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.01536, allocations: 164.9 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.01536, allocations: 0 / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001077/0.01644, allocations: 341.3 kB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.0165, allocations: 63.34 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.01676, allocations: 261.8 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.01681, allocations: 41.7 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.01695, allocations: 175.3 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.01703, allocations: 79.39 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.01717, allocations: 91.31 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.01744, allocations: 0.5118 MB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.01779, allocations: 111.9 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.0182, allocations: 155 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.01887, allocations: 252.9 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01887, allocations: 3.938 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008668/0.01974, allocations: 348.2 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01976, allocations: 8 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01977, allocations: 0 / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01978, allocations: 0 / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.02012, allocations: 79.88 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.02012, allocations: 0 / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.0203, allocations: 43.7 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.02033, allocations: 15.98 kB / 277 MB, free: 12.82 MB / 266.7 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.0001792/0.02051, allocations: 196.3 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.02057, allocations: 23.91 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.02063, allocations: 21.95 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.02063, allocations: 0 / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02064, allocations: 0 / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02064, allocations: 3.938 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.02188, allocations: 0.6171 MB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02189, allocations: 0 / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.02219, allocations: 47.89 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.0222, allocations: 4 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.02222, allocations: 8 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02222, allocations: 0 / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02222, allocations: 0 / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.02338, allocations: 0.5195 MB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.02341, allocations: 23.8 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.02347, allocations: 4 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.02366, allocations: 27.91 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.02371, allocations: 15.97 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.02373, allocations: 8 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.0239, allocations: 184.2 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0239, allocations: 3.938 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004373/0.02433, allocations: 103.8 kB / 278.8 MB, free: 10.95 MB / 266.7 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.0008334/0.02517, allocations: 274 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.02596, allocations: 267.3 kB / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02596, allocations: 0 / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.02631, allocations: 127.6 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.02667, allocations: 43.86 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.02762, allocations: 438.5 kB / 279.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02776, allocations: 133.1 kB / 280 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.02789, allocations: 33.61 kB / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.02797, allocations: 24.48 kB / 280.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02797, allocations: 0 / 280.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of Templates: time 0.009136/0.03711, allocations: 3.737 MB / 283.8 MB, free: 5.902 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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: 5.635976486955769]