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.0009655/0.0009655, allocations: 82.28 kB / 22.21 MB, free: 2.297 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.001008/0.001008, allocations: 143.9 kB / 25.59 MB, free: 8.105 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.9238/0.9238, allocations: 173.4 MB / 202.2 MB, free: 8.293 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.733e-06/1.733e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.346e-05, allocations: 2.312 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.005862/0.005885, allocations: 1.832 MB / 271 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.00778, allocations: 1.221 MB / 272.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.01084, allocations: 0.5938 kB / 272.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.01095, allocations: 21.7 kB / 272.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.01102, allocations: 23.8 kB / 272.3 MB, free: 6.699 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.0007272/0.01175, allocations: 336.4 kB / 272.6 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.01195, allocations: 219.5 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.01206, allocations: 44.56 kB / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.01217, allocations: 131.7 kB / 273 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.01249, allocations: 106.8 kB / 273.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.01252, allocations: 24.75 kB / 273.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.0129, allocations: 311.3 kB / 273.4 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.01295, allocations: 64.23 kB / 273.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.013, allocations: 63.83 kB / 273.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.0134, allocations: 382.7 kB / 273.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.0134, allocations: 4 kB / 274 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.0134, allocations: 0 / 274 MB, free: 5.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.01341, allocations: 4 kB / 274 MB, free: 5.047 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.0006932/0.0141, allocations: 0.598 MB / 274.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.01413, allocations: 8.031 kB / 274.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.01429, allocations: 48.78 kB / 274.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.01445, allocations: 193.8 kB / 274.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.01447, allocations: 20.64 kB / 274.8 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.0145, allocations: 19.94 kB / 274.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.01468, allocations: 122.9 kB / 275 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.01469, allocations: 0 / 275 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.0147, allocations: 8 kB / 275 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01471, allocations: 4 kB / 275 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.0148, allocations: 44.52 kB / 275 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.01535, allocations: 491.9 kB / 275.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.01565, allocations: 157.4 kB / 275.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.01572, allocations: 47.59 kB / 275.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.01573, allocations: 8 kB / 275.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.01586, allocations: 101 kB / 275.8 MB, free: 3.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.01586, allocations: 0 / 275.8 MB, free: 3.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002684/0.01613, allocations: 171.7 kB / 276 MB, free: 2.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01616, allocations: 63.41 kB / 276 MB, free: 2.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.01629, allocations: 242.2 kB / 276.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01631, allocations: 33.7 kB / 276.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.01639, allocations: 191.2 kB / 276.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.01644, allocations: 75.36 kB / 276.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.01651, allocations: 75.23 kB / 276.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01665, allocations: 0.5156 MB / 277.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.01673, allocations: 39.95 kB / 277.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.01681, allocations: 82.86 kB / 277.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.01693, allocations: 109.1 kB / 277.4 MB, free: 1.414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01693, allocations: 3.938 kB / 277.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002214/0.01716, allocations: 216.2 kB / 277.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.01717, allocations: 4 kB / 277.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01717, allocations: 0 / 277.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.01718, allocations: 4 kB / 277.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01736, allocations: 79.92 kB / 277.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.01736, allocations: 0 / 277.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.01744, allocations: 39.81 kB / 277.7 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01746, allocations: 12 kB / 277.7 MB, free: 1.059 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 0.0001155/0.01757, allocations: 189.3 kB / 277.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.0176, allocations: 23.89 kB / 277.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.01764, allocations: 21.97 kB / 278 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01765, allocations: 4 kB / 278 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01765, allocations: 3.984 kB / 278 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01765, allocations: 0 / 278 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.01807, allocations: 457.6 kB / 278.4 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01807, allocations: 0 / 278.4 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01819, allocations: 47.95 kB / 278.5 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01819, allocations: 7.938 kB / 278.5 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.01821, allocations: 7.984 kB / 278.5 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01821, allocations: 0 / 278.5 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01821, allocations: 3.938 kB / 278.5 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.0185, allocations: 342.5 kB / 278.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01851, allocations: 19.8 kB / 278.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.01854, allocations: 15.92 kB / 278.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.01863, allocations: 15.98 kB / 278.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.01867, allocations: 19.91 kB / 278.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01867, allocations: 8 kB / 278.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.307e-05/0.01874, allocations: 163.1 kB / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01874, allocations: 0 / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01899, allocations: 99.8 kB / 279.1 MB, free: 15.58 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.0004492/0.01944, allocations: 287.4 kB / 279.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01964, allocations: 139.9 kB / 279.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01964, allocations: 0 / 279.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.01971, allocations: 62.7 kB / 279.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01993, allocations: 32.05 kB / 279.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.02034, allocations: 378.5 kB / 280 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.02038, allocations: 79.98 kB / 280.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.02045, allocations: 29.62 kB / 280.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.02057, allocations: 110.2 kB / 280.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02057, allocations: 0 / 280.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Templates: time 0.005524/0.0261, allocations: 4.238 MB / 284.5 MB, free: 10.27 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.7078673071227968]