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.001702/0.001702, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00219/0.00219, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.496/1.496, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.001852/0.001852, allocations: 75.81 kB / 374.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1266, allocations: 53.32 MB / 427.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003892/0.1305, allocations: 1.869 MB / 429.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1333, allocations: 1.313 MB / 431 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1334, allocations: 4 kB / 431 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1335, allocations: 19.73 kB / 431.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1337, allocations: 27.72 kB / 431.1 MB, free: 1.297 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.0009217/0.1346, allocations: 311.1 kB / 431.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.1349, allocations: 219.4 kB / 431.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1351, allocations: 60.25 kB / 431.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1352, allocations: 99.56 kB / 431.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.1359, allocations: 113.5 kB / 431.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.1359, allocations: 23.94 kB / 431.9 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.1364, allocations: 299.5 kB / 432.2 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.1365, allocations: 55.83 kB / 432.2 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1366, allocations: 99.45 kB / 432.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2902/0.4268, allocations: 382.5 kB / 432.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4268, allocations: 0.6875 kB / 432.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4268, allocations: 2.156 kB / 432.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4268, allocations: 2.203 kB / 432.7 MB, free: 8.395 MB / 350.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.001201/0.428, allocations: 0.5833 MB / 433.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4281, allocations: 10.81 kB / 433.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.4284, allocations: 37.06 kB / 433.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4286, allocations: 249 kB / 433.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4286, allocations: 12.53 kB / 433.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.4287, allocations: 17.88 kB / 433.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.4292, allocations: 202.4 kB / 433.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4292, allocations: 4.625 kB / 433.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4292, allocations: 6.531 kB / 433.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.4292, allocations: 5.094 kB / 433.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.4297, allocations: 157.3 kB / 434 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.4307, allocations: 0.5725 MB / 434.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.4317, allocations: 298.8 kB / 434.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.432, allocations: 101.7 kB / 435 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.432, allocations: 11.56 kB / 435 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.4324, allocations: 163.7 kB / 435.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.4324, allocations: 0 / 435.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001015/0.4334, allocations: 362.2 kB / 435.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4335, allocations: 57.97 kB / 435.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4337, allocations: 226.9 kB / 435.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4337, allocations: 38.98 kB / 435.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.4338, allocations: 135.8 kB / 435.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.4339, allocations: 70.72 kB / 436 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.434, allocations: 71.22 kB / 436.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.4341, allocations: 337.3 kB / 436.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.4344, allocations: 129.5 kB / 436.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.4348, allocations: 162.5 kB / 436.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.4354, allocations: 270.5 kB / 436.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4354, allocations: 0 / 436.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008486/0.4363, allocations: 385.1 kB / 437.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4363, allocations: 5.625 kB / 437.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4363, allocations: 0.8438 kB / 437.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4363, allocations: 2.156 kB / 437.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.4367, allocations: 67 kB / 437.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4367, allocations: 2.859 kB / 437.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4368, allocations: 48.08 kB / 437.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4369, allocations: 14.02 kB / 437.5 MB, free: 6.469 MB / 350.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.0001525/0.437, allocations: 145.2 kB / 437.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.4371, allocations: 24.3 kB / 437.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.4371, allocations: 24.53 kB / 437.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4371, allocations: 5.188 kB / 437.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4371, allocations: 1.828 kB / 437.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4371, allocations: 0.6562 kB / 437.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4382, allocations: 0.6171 MB / 438.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4382, allocations: 3.938 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.4385, allocations: 44.62 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4385, allocations: 1.781 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4385, allocations: 3.625 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4385, allocations: 1.781 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4385, allocations: 0 / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4395, allocations: 495.8 kB / 438.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4396, allocations: 103.2 kB / 438.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.4396, allocations: 12.86 kB / 438.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4398, allocations: 21.72 kB / 439 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.4398, allocations: 16.75 kB / 439 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.4399, allocations: 5.219 kB / 439 MB, free: 5.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.44, allocations: 155.6 kB / 439.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.44, allocations: 0 / 439.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005611/0.4406, allocations: 100.5 kB / 439.2 MB, free: 5.652 MB / 350.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.0007067/0.4413, allocations: 271.1 kB / 439.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.4421, allocations: 261.5 kB / 439.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4421, allocations: 0 / 439.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.4424, allocations: 109.6 kB / 439.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4428, allocations: 24.16 kB / 439.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4439, allocations: 498.7 kB / 440.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4441, allocations: 0.7435 MB / 441.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.4442, allocations: 24.83 kB / 441.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4442, allocations: 0 / 441.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of Templates: time 0.009291/0.4535, allocations: 4.153 MB / 445.3 MB, free: 4.164 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.887330883007962]