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.001815/0.001815, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001833/0.001833, allocations: 145.1 kB / 24.54 MB, free: 32 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.009/1.009, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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 2.003e-06/2.003e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.314e-05, allocations: 10.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002525/0.002558, allocations: 1.844 MB / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.004502, allocations: 1.228 MB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004611, allocations: 0 / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.004745, allocations: 23.73 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004848, allocations: 27.67 kB / 271.1 MB, free: 3.285 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.001299/0.006148, allocations: 330.8 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.006483, allocations: 219.4 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.006659, allocations: 48.55 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.006852, allocations: 139.7 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.007459, allocations: 95.56 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.007559, allocations: 24 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008064/0.008365, allocations: 319.2 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.008461, allocations: 59.8 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.008564, allocations: 63.77 kB / 272.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009441/0.009508, allocations: 374.8 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.009513, allocations: 0 / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.009515, allocations: 8 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.009521, allocations: 0 / 272.8 MB, free: 1.641 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.001136/0.01066, allocations: 0.6057 MB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.0107, allocations: 8.922 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.01099, allocations: 48.78 kB / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.01126, allocations: 189.8 kB / 273.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.01129, allocations: 24.64 kB / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.01133, allocations: 19.94 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.01164, allocations: 138.7 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01165, allocations: 0 / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.01167, allocations: 4 kB / 273.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01168, allocations: 4 kB / 273.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.01182, allocations: 56.45 kB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.01272, allocations: 0.5228 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.01325, allocations: 167.2 kB / 274.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.01334, allocations: 47.66 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.01337, allocations: 8 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.01357, allocations: 105 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.514e-06/0.01357, allocations: 4 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004629/0.01403, allocations: 189.4 kB / 274.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.01409, allocations: 55.41 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01427, allocations: 245.8 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.01431, allocations: 37.69 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.01441, allocations: 183.2 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.01447, allocations: 79.36 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01458, allocations: 67.34 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.0148, allocations: 0.5079 MB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.01498, allocations: 47.97 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01511, allocations: 87.11 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.01531, allocations: 149 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01531, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003223/0.01564, allocations: 240 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.01566, allocations: 4 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01567, allocations: 4 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01568, allocations: 4 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.01591, allocations: 75.88 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01592, allocations: 4.031 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.016, allocations: 43.77 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01603, allocations: 11.98 kB / 276.7 MB, free: 13.47 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.000152/0.01618, allocations: 180.3 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.01621, allocations: 23.91 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.01626, allocations: 21.95 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01626, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01627, allocations: 4 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01627, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.01687, allocations: 0.5001 MB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01688, allocations: 0 / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.01701, allocations: 47.95 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01702, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.01703, allocations: 4 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01704, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01704, allocations: 4 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.01741, allocations: 370.8 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01743, allocations: 27.8 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01746, allocations: 8 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.01755, allocations: 23.91 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.0176, allocations: 15.97 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01761, allocations: 4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.01768, allocations: 167.1 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01768, allocations: 0 / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.01801, allocations: 103.8 kB / 278.2 MB, free: 11.92 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.0005385/0.01855, allocations: 289.8 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01882, allocations: 155.6 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01882, allocations: 0 / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.01891, allocations: 63.58 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01917, allocations: 31.92 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.01981, allocations: 390.6 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01986, allocations: 75.98 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.01994, allocations: 29.62 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.02001, allocations: 24.48 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02001, allocations: 4 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.01091/0.03092, allocations: 4.104 MB / 283.3 MB, free: 6.785 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8360307719558477]