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.001027/0.001027, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001182/0.001182, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 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 0.915/0.915, allocations: 173.4 MB / 201.5 MB, free: 8.27 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 1.312e-06/1.312e-06, allocations: 0 / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.249e-05, allocations: 5.406 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002787/0.002809, allocations: 1.831 MB / 270.3 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.004829, allocations: 1.242 MB / 271.6 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.00492, allocations: 4 kB / 271.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.005047, allocations: 20.27 kB / 271.6 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.005147, allocations: 36.34 kB / 271.6 MB, free: 6.652 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.000901/0.006048, allocations: 321.2 kB / 271.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.0063, allocations: 219.5 kB / 272.1 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.00643, allocations: 54.45 kB / 272.2 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.006578, allocations: 132.4 kB / 272.3 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.006997, allocations: 107.8 kB / 272.4 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.007049, allocations: 20 kB / 272.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.007541, allocations: 315.3 kB / 272.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.007601, allocations: 52.33 kB / 272.8 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.007672, allocations: 72.52 kB / 272.9 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.008183, allocations: 374.7 kB / 273.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008185, allocations: 0.5 kB / 273.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008186, allocations: 4 kB / 273.3 MB, free: 5.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.008189, allocations: 0 / 273.3 MB, free: 5.023 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.0007583/0.008947, allocations: 492.6 kB / 273.7 MB, free: 4.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.00898, allocations: 8.031 kB / 273.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.009177, allocations: 44.88 kB / 273.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.009366, allocations: 163 kB / 273.9 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.009395, allocations: 20.66 kB / 274 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.009434, allocations: 23.92 kB / 274 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.009665, allocations: 129.8 kB / 274.1 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.009674, allocations: 0 / 274.1 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.009691, allocations: 7.984 kB / 274.1 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.009698, allocations: 7.938 kB / 274.1 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.009788, allocations: 36.55 kB / 274.2 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.01042, allocations: 349.6 kB / 274.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.01079, allocations: 185.8 kB / 274.7 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.01087, allocations: 38.91 kB / 274.7 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.01088, allocations: 7.938 kB / 274.7 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.01103, allocations: 102.1 kB / 274.8 MB, free: 3.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.01103, allocations: 4 kB / 274.8 MB, free: 3.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.000256/0.01129, allocations: 131.8 kB / 275 MB, free: 3.207 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.01134, allocations: 63.41 kB / 275 MB, free: 3.133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01147, allocations: 179 kB / 275.2 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.0115, allocations: 45.69 kB / 275.3 MB, free: 2.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.01157, allocations: 120.5 kB / 275.4 MB, free: 2.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.01162, allocations: 75.36 kB / 275.4 MB, free: 2.699 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01171, allocations: 65.64 kB / 275.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.0118, allocations: 334.8 kB / 275.8 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.01188, allocations: 38.81 kB / 275.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.01198, allocations: 65.23 kB / 275.9 MB, free: 2.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.01214, allocations: 129 kB / 276.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01215, allocations: 0 / 276.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000243/0.01239, allocations: 166.9 kB / 276.2 MB, free: 1.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.0124, allocations: 7.938 kB / 276.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01241, allocations: 4 kB / 276.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01242, allocations: 0 / 276.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.01265, allocations: 79.88 kB / 276.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01266, allocations: 4.031 kB / 276.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01276, allocations: 39.77 kB / 276.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.01278, allocations: 19.92 kB / 276.4 MB, free: 1.727 MB / 250.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.842e-05/0.01288, allocations: 125.6 kB / 276.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01291, allocations: 19.86 kB / 276.5 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.01296, allocations: 25.95 kB / 276.5 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01296, allocations: 0 / 276.5 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01296, allocations: 4 kB / 276.5 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01297, allocations: 4 kB / 276.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.01341, allocations: 374.4 kB / 276.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01342, allocations: 0 / 276.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.01357, allocations: 51.89 kB / 277 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01358, allocations: 0 / 277 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01359, allocations: 7.938 kB / 277 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01359, allocations: 0 / 277 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01359, allocations: 4 kB / 277 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.01389, allocations: 304.9 kB / 277.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.01392, allocations: 23.78 kB / 277.3 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.01395, allocations: 7.984 kB / 277.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01406, allocations: 19.98 kB / 277.3 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.0141, allocations: 15.91 kB / 277.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01411, allocations: 7.984 kB / 277.4 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.01416, allocations: 44.81 kB / 277.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01416, allocations: 0 / 277.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.01451, allocations: 107.8 kB / 277.5 MB, free: 0.5469 MB / 250.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.0005765/0.01508, allocations: 283.6 kB / 277.8 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01531, allocations: 121.7 kB / 277.9 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01531, allocations: 0 / 277.9 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.01539, allocations: 44.78 kB / 277.9 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01563, allocations: 43.72 kB / 278 MB, free: 100 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.01617, allocations: 382.6 kB / 278.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.01622, allocations: 83.98 kB / 278.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.751e-05/0.01632, allocations: 29.62 kB / 278.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.01645, allocations: 83.34 kB / 278.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01645, allocations: 0 / 278.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.007391/0.02384, allocations: 4.138 MB / 282.7 MB, free: 11.4 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.035887584090233]