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.002014/0.002014, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 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.003053/0.003053, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 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.618/1.618, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001976/0.001976, allocations: 59.89 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 53.32 MB / 427.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003643/0.1388, allocations: 1.885 MB / 429 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1414, allocations: 1.309 MB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1416, allocations: 7.938 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.1417, allocations: 19.73 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1419, allocations: 31.72 kB / 430.4 MB, free: 1.227 MB / 350.1 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.00108/0.143, allocations: 311.1 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.1433, allocations: 215.5 kB / 430.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1435, allocations: 52.27 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1436, allocations: 103.5 kB / 431.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.1443, allocations: 131.1 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.1443, allocations: 20 kB / 431.2 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.1449, allocations: 295.5 kB / 431.5 MB, free: 132 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.1449, allocations: 55.78 kB / 431.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1451, allocations: 103.5 kB / 431.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.1457, allocations: 386.5 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1457, allocations: 8 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1457, allocations: 0 / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1457, allocations: 0 / 432.1 MB, free: 15.59 MB / 366.1 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.001251/0.147, allocations: 0.5851 MB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.147, allocations: 8.031 kB / 432.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.1473, allocations: 36.78 kB / 432.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1476, allocations: 232 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.1476, allocations: 16.66 kB / 432.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.1477, allocations: 20.38 kB / 433 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.1482, allocations: 207.2 kB / 433.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1482, allocations: 7.938 kB / 433.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1483, allocations: 8 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1483, allocations: 4 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.1488, allocations: 152.4 kB / 433.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.15, allocations: 0.579 MB / 433.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1512, allocations: 290.7 kB / 434.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1515, allocations: 112.8 kB / 434.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1515, allocations: 3.938 kB / 434.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.152, allocations: 167.2 kB / 434.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.175e-06/0.152, allocations: 4 kB / 434.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001172/0.1532, allocations: 353.2 kB / 434.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.1532, allocations: 63.41 kB / 434.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1535, allocations: 222.7 kB / 435.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1535, allocations: 41.7 kB / 435.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1537, allocations: 128.7 kB / 435.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.1537, allocations: 75.42 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1539, allocations: 65.64 kB / 435.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.154, allocations: 334.8 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.1544, allocations: 135.9 kB / 435.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.1548, allocations: 161.7 kB / 436 MB, free: 11.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.1555, allocations: 267.2 kB / 436.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1555, allocations: 0 / 436.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009255/0.1565, allocations: 383.8 kB / 436.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1565, allocations: 4 kB / 436.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1565, allocations: 0 / 436.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1565, allocations: 7.938 kB / 436.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.1568, allocations: 75.88 kB / 436.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1568, allocations: 8.031 kB / 436.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1571, allocations: 43.75 kB / 436.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1571, allocations: 12 kB / 436.8 MB, free: 10.61 MB / 366.1 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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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.0001964/0.1573, allocations: 145.6 kB / 436.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1573, allocations: 19.86 kB / 437 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.1574, allocations: 25.86 kB / 437 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1574, allocations: 11.98 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1574, allocations: 0 / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1574, allocations: 0 / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1587, allocations: 0.6147 MB / 437.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1587, allocations: 3.984 kB / 437.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1589, allocations: 43.91 kB / 437.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1589, allocations: 4 kB / 437.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.159, allocations: 3.984 kB / 437.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.159, allocations: 0 / 437.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.159, allocations: 0 / 437.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1601, allocations: 479.1 kB / 438.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1602, allocations: 112.8 kB / 438.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.1602, allocations: 12 kB / 438.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1604, allocations: 23.91 kB / 438.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1605, allocations: 11.98 kB / 438.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1605, allocations: 4 kB / 438.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1607, allocations: 160.7 kB / 438.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1607, allocations: 0 / 438.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.1612, allocations: 99.8 kB / 438.5 MB, free: 8.754 MB / 366.1 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.0006927/0.1618, allocations: 264.9 kB / 438.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008304/0.1627, allocations: 261.9 kB / 439.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1627, allocations: 3.938 kB / 439.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.163, allocations: 108 kB / 439.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1633, allocations: 26.03 kB / 439.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1644, allocations: 473.6 kB / 439.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1648, allocations: 0.7437 MB / 440.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.165, allocations: 33.92 kB / 440.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.165, allocations: 23.44 kB / 440.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.165, allocations: 0 / 440.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of Templates: time 0.00844/0.1735, allocations: 3.633 MB / 444.1 MB, free: 3.188 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.083207231014967]