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.0009469/0.0009469, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009857/0.0009857, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.529e-05, allocations: 4.703 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002337/0.002363, allocations: 1.859 MB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004123, allocations: 1.262 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.004216, allocations: 0 / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.004339, allocations: 19.73 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.004463, allocations: 31.67 kB / 276.6 MB, free: 14.1 MB / 266.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.0007443/0.005207, allocations: 334.8 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.005422, allocations: 219.4 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.005552, allocations: 56.41 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.005682, allocations: 135.7 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.0061, allocations: 111.1 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.00614, allocations: 24 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.006515, allocations: 319.2 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.006568, allocations: 55.8 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.006628, allocations: 67.83 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.007075, allocations: 386.7 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00708, allocations: 4 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007081, allocations: 0 / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007085, allocations: 0 / 278.3 MB, free: 12.44 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.0007547/0.00784, allocations: 0.6018 MB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.007885, allocations: 15.97 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.008062, allocations: 52.69 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.008256, allocations: 193 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.00828, allocations: 16.66 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.008309, allocations: 16.38 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.008509, allocations: 124.4 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.008517, allocations: 3.938 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.00853, allocations: 8 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.008536, allocations: 4 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.008616, allocations: 53 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.009231, allocations: 492.5 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.009542, allocations: 151.3 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.009588, allocations: 31.67 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.009604, allocations: 8 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.009733, allocations: 118.5 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.009735, allocations: 0 / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002616/0.009996, allocations: 165.4 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.01004, allocations: 59.41 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.0102, allocations: 246.9 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.01022, allocations: 45.67 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.01031, allocations: 179.3 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.01037, allocations: 75.34 kB / 280.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01047, allocations: 75.62 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.01066, allocations: 0.5118 MB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.01075, allocations: 39.72 kB / 281.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01086, allocations: 79.05 kB / 281.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.01103, allocations: 113 kB / 281.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01103, allocations: 0 / 281.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003271/0.01136, allocations: 215.9 kB / 281.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01138, allocations: 7.938 kB / 281.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01139, allocations: 0 / 281.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.0114, allocations: 4 kB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.01163, allocations: 83.91 kB / 282 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01163, allocations: 0 / 282 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01174, allocations: 39.77 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.01176, allocations: 7.984 kB / 282 MB, free: 8.449 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 0.0001185/0.01187, allocations: 176.5 kB / 282.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01191, allocations: 23.84 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.01196, allocations: 29.89 kB / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01197, allocations: 4 kB / 282.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01197, allocations: 0 / 282.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01198, allocations: 0 / 282.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.01249, allocations: 445.7 kB / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01249, allocations: 0 / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.01266, allocations: 47.89 kB / 282.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01266, allocations: 0 / 282.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01268, allocations: 8 kB / 282.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01268, allocations: 0 / 282.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01269, allocations: 3.938 kB / 282.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.01315, allocations: 338.7 kB / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.01318, allocations: 19.84 kB / 283.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.01321, allocations: 8 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01332, allocations: 19.92 kB / 283.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.01336, allocations: 11.97 kB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01337, allocations: 11.98 kB / 283.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.01346, allocations: 176.2 kB / 283.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01346, allocations: 0 / 283.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000404/0.01386, allocations: 103.7 kB / 283.4 MB, free: 6.992 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.0005132/0.01438, allocations: 287.5 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.01457, allocations: 127.2 kB / 283.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01458, allocations: 3.938 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.01464, allocations: 59.58 kB / 283.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01487, allocations: 36.03 kB / 283.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.01539, allocations: 399.2 kB / 284.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.01544, allocations: 75.98 kB / 284.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.01552, allocations: 29.62 kB / 284.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01562, allocations: 110.2 kB / 284.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01562, allocations: 0 / 284.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of Templates: time 0.00597/0.02159, allocations: 4.133 MB / 288.7 MB, free: 1.75 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.803130835760385]