Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.0008531/0.0008531, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004308/0.004308, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.9285/0.9285, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.076e-05, allocations: 3.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002038/0.002058, allocations: 1.814 MB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003369, allocations: 0.9889 MB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.003454, allocations: 7.938 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003566, allocations: 23.73 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003742, allocations: 35.66 kB / 328.7 MB, free: 12.46 MB / 298.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.0004479/0.004189, allocations: 191.3 kB / 328.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.004401, allocations: 231.3 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.004537, allocations: 52.34 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004654, allocations: 127.7 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.005124, allocations: 102.4 kB / 329.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.005161, allocations: 28 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.005369, allocations: 151.7 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.005425, allocations: 59.75 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.005491, allocations: 71.8 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.005853, allocations: 315 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005855, allocations: 0 / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005856, allocations: 0 / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00586, allocations: 0 / 330 MB, free: 11.17 MB / 298.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.00077/0.00663, allocations: 0.4944 MB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006668, allocations: 8.031 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.006813, allocations: 40.78 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.007012, allocations: 181.9 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.007037, allocations: 16.66 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.007069, allocations: 20.36 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.007369, allocations: 211.5 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.007378, allocations: 4.125 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.007395, allocations: 8.359 kB / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.007401, allocations: 7.938 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.007659, allocations: 152.4 kB / 331.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.008301, allocations: 472.7 kB / 331.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.008886, allocations: 298.7 kB / 331.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.00904, allocations: 100.8 kB / 331.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.009057, allocations: 8 kB / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.009293, allocations: 167.1 kB / 332.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.009295, allocations: 0 / 332.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006/0.009895, allocations: 353.3 kB / 332.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.009939, allocations: 59.34 kB / 332.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01009, allocations: 207 kB / 332.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.01011, allocations: 45.69 kB / 332.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.01018, allocations: 124.6 kB / 332.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01022, allocations: 79.34 kB / 333 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.0103, allocations: 77.64 kB / 333 MB, free: 7.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.01039, allocations: 330.8 kB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.01058, allocations: 127.9 kB / 333.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.01079, allocations: 161.6 kB / 333.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.01114, allocations: 271.2 kB / 333.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01115, allocations: 0 / 333.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004745/0.01162, allocations: 380 kB / 334.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01164, allocations: 4 kB / 334.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.01165, allocations: 7.875 kB / 334.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01166, allocations: 7.938 kB / 334.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01181, allocations: 59.95 kB / 334.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01182, allocations: 19.94 kB / 334.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.0119, allocations: 27.88 kB / 334.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01191, allocations: 15.98 kB / 334.4 MB, free: 6.52 MB / 298.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,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.0001006/0.01201, allocations: 141.7 kB / 334.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01204, allocations: 19.86 kB / 334.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.01208, allocations: 29.89 kB / 334.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01208, allocations: 4 kB / 334.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01208, allocations: 0 / 334.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01209, allocations: 0 / 334.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.01268, allocations: 0.5261 MB / 335.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01268, allocations: 4 kB / 335.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.01279, allocations: 43.89 kB / 335.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.0128, allocations: 4 kB / 335.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01281, allocations: 4 kB / 335.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01281, allocations: 4 kB / 335.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01282, allocations: 7.938 kB / 335.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.01337, allocations: 482.3 kB / 335.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01339, allocations: 19.84 kB / 335.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.01341, allocations: 12.05 kB / 335.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.01349, allocations: 19.97 kB / 335.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.01354, allocations: 15.98 kB / 335.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.01355, allocations: 7.984 kB / 335.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.01363, allocations: 144.3 kB / 335.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01363, allocations: 7.938 kB / 335.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01386, allocations: 63.89 kB / 336 MB, free: 4.918 MB / 298.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.0003293/0.01419, allocations: 205.6 kB / 336.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.01461, allocations: 271.6 kB / 336.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01461, allocations: 0 / 336.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.01477, allocations: 103.9 kB / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01499, allocations: 23.98 kB / 336.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.01564, allocations: 476.1 kB / 337 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.251e-05/0.01572, allocations: 129.2 kB / 337.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.01578, allocations: 28.48 kB / 337.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01578, allocations: 4 kB / 337.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of Templates: time 0.003865/0.01964, allocations: 3.431 MB / 340.6 MB, free: 244 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.350684242323041]