Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008091/0.0008091, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001922, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007873/0.0007873, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000965/0.001752, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.106, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.751e-05, allocations: 5.688 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003515/0.003543, allocations: 1.909 MB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.005473, allocations: 1.297 MB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.005578, allocations: 0 / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.831e-05/0.005666, allocations: 19.73 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.00577, allocations: 31.67 kB / 248.3 MB, free: 10.36 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007244/0.006495, allocations: 306.9 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.006713, allocations: 211.5 kB / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.00685, allocations: 54.5 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.007021, allocations: 156.5 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.007456, allocations: 98.98 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.007501, allocations: 20 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.008025, allocations: 343.2 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.008079, allocations: 39.88 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.008138, allocations: 47.88 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.008656, allocations: 326.9 kB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.802e-05/0.008674, allocations: 0 / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.008675, allocations: 0 / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.00869, allocations: 0 / 249.9 MB, free: 8.793 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.0008195/0.00951, allocations: 0.5393 MB / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.009552, allocations: 8.625 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.00978, allocations: 118 kB / 250.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.009957, allocations: 175 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.009978, allocations: 12.66 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.01001, allocations: 16.38 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.01022, allocations: 139.7 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01023, allocations: 192 / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.01024, allocations: 8.375 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01025, allocations: 11.94 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.01032, allocations: 36.53 kB / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.01087, allocations: 346.2 kB / 251.3 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.01117, allocations: 186.3 kB / 251.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.01122, allocations: 36.84 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.01124, allocations: 0 / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.0114, allocations: 102.1 kB / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.0114, allocations: 0 / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002283/0.01163, allocations: 136.2 kB / 251.7 MB, free: 6.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.01168, allocations: 55.41 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.0118, allocations: 198.2 kB / 252 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.01184, allocations: 37.7 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.0119, allocations: 128.5 kB / 252.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.01194, allocations: 75.41 kB / 252.2 MB, free: 6.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.01201, allocations: 69.95 kB / 252.3 MB, free: 6.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.01211, allocations: 338.7 kB / 252.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.01217, allocations: 42.34 kB / 252.6 MB, free: 5.855 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.01224, allocations: 65.64 kB / 252.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.01236, allocations: 117 kB / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01236, allocations: 0 / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001763/0.01254, allocations: 167 kB / 253 MB, free: 5.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01255, allocations: 7.984 kB / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.01258, allocations: 0 / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01259, allocations: 8.031 kB / 253 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.01281, allocations: 83.88 kB / 253.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.01282, allocations: 0 / 253.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.01289, allocations: 43.77 kB / 253.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01291, allocations: 7.984 kB / 253.1 MB, free: 5.344 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.0001051/0.01301, allocations: 137.8 kB / 253.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.01304, allocations: 19.92 kB / 253.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.01308, allocations: 21.95 kB / 253.3 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01308, allocations: 4 kB / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01309, allocations: 0 / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01309, allocations: 0 / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.01346, allocations: 354.4 kB / 253.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01346, allocations: 3.938 kB / 253.6 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.01359, allocations: 51.83 kB / 253.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.01361, allocations: 23.84 kB / 253.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01362, allocations: 0 / 253.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01363, allocations: 8 kB / 253.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01363, allocations: 3.984 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01363, allocations: 0 / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01388, allocations: 285.9 kB / 254 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01391, allocations: 11.98 kB / 254 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.01398, allocations: 15.98 kB / 254 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01402, allocations: 15.97 kB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01403, allocations: 8 kB / 254.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.01407, allocations: 52.59 kB / 254.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01407, allocations: 4 kB / 254.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000309/0.01438, allocations: 107.7 kB / 254.2 MB, free: 4.18 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 (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.0005822/0.01496, allocations: 309.8 kB / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01518, allocations: 117.8 kB / 254.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.01519, allocations: 0 / 254.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.01526, allocations: 48.77 kB / 254.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01548, allocations: 48.03 kB / 254.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.0162, allocations: 375.2 kB / 255.1 MB, free: 3.305 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.857e-05/0.01625, allocations: 83.84 kB / 255.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.593e-05/0.01634, allocations: 33.56 kB / 255.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01644, allocations: 91.3 kB / 255.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01644, allocations: 4 kB / 255.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of Templates: time 0.006438/0.02288, allocations: 4.128 MB / 259.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2869144110009074]