Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001298/0.001298, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009744/0.0009744, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9129/0.9129, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.978e-05, allocations: 5.266 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002731/0.002751, allocations: 1.849 MB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.004713, allocations: 1.26 MB / 277.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.004805, allocations: 0 / 277.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.004919, allocations: 27.67 kB / 277.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005044, allocations: 23.73 kB / 277.4 MB, free: 1.25 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0008597/0.005904, allocations: 338.8 kB / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.006136, allocations: 227.4 kB / 277.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.006232, allocations: 40.56 kB / 278 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.006366, allocations: 139.6 kB / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.006677, allocations: 103.7 kB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.006719, allocations: 20 kB / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.00717, allocations: 315.3 kB / 278.5 MB, free: 96 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.00722, allocations: 59.75 kB / 278.6 MB, free: 36 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.007296, allocations: 67.89 kB / 278.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.007782, allocations: 378.7 kB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.007784, allocations: 4 kB / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.007784, allocations: 0 / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.007787, allocations: 0 / 279 MB, free: 15.59 MB / 266.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.000729/0.008516, allocations: 0.6057 MB / 279.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.474e-05/0.008541, allocations: 8.031 kB / 279.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.008725, allocations: 56.66 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.008899, allocations: 200.9 kB / 279.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008923, allocations: 12.66 kB / 279.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.008956, allocations: 20.38 kB / 279.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.009168, allocations: 123.5 kB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.009175, allocations: 3.938 kB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.009188, allocations: 4 kB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.009194, allocations: 7.984 kB / 280.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.009289, allocations: 41.14 kB / 280.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.009952, allocations: 496.4 kB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.01032, allocations: 151.3 kB / 280.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.01039, allocations: 47.62 kB / 280.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.0104, allocations: 0 / 280.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.01053, allocations: 106.9 kB / 280.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.01054, allocations: 0 / 280.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002983/0.01083, allocations: 169.5 kB / 281 MB, free: 13.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.01089, allocations: 63.39 kB / 281.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01103, allocations: 243.1 kB / 281.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.01106, allocations: 45.64 kB / 281.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.01114, allocations: 179.3 kB / 281.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.0112, allocations: 67.42 kB / 281.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.0113, allocations: 83.25 kB / 281.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.01148, allocations: 0.5078 MB / 282.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.01156, allocations: 36.28 kB / 282.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01166, allocations: 90.8 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.01182, allocations: 109.1 kB / 282.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.01183, allocations: 0 / 282.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002877/0.01211, allocations: 211.9 kB / 282.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.01212, allocations: 7.938 kB / 282.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01213, allocations: 7.984 kB / 282.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.01214, allocations: 0 / 282.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.01236, allocations: 71.92 kB / 282.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01236, allocations: 8 kB / 282.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01251, allocations: 39.8 kB / 282.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01253, allocations: 8 kB / 282.8 MB, free: 11.6 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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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 9.226e-05/0.01262, allocations: 172.5 kB / 283 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.01265, allocations: 27.86 kB / 283 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.01269, allocations: 21.89 kB / 283 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01269, allocations: 8 kB / 283 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01269, allocations: 0 / 283 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.0127, allocations: 4 kB / 283 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.01307, allocations: 444.7 kB / 283.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01307, allocations: 3.984 kB / 283.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.01319, allocations: 35.97 kB / 283.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01319, allocations: 0 / 283.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.0132, allocations: 11.98 kB / 283.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.0132, allocations: 0 / 283.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0132, allocations: 7.938 kB / 283.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.01346, allocations: 336.2 kB / 283.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.01348, allocations: 15.91 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.0135, allocations: 11.94 kB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.01358, allocations: 19.97 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.01361, allocations: 15.97 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.01362, allocations: 4 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.329e-05/0.01368, allocations: 176 kB / 284.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 284.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.01393, allocations: 115.7 kB / 284.2 MB, free: 10.14 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 (17): * Single equations (assignments): 15 * 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.0003689/0.0143, allocations: 280.3 kB / 284.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.01448, allocations: 131.8 kB / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.01448, allocations: 0 / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.01454, allocations: 54.08 kB / 284.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01474, allocations: 39.78 kB / 284.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.01516, allocations: 399.3 kB / 285.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.0152, allocations: 83.97 kB / 285.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.01526, allocations: 17.64 kB / 285.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.01537, allocations: 114.2 kB / 285.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01537, allocations: 0 / 285.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of Templates: time 0.005292/0.02066, allocations: 4.2 MB / 289.5 MB, free: 4.855 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3468540967442095]