Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.449e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003767/0.003801, allocations: 1.821 MB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.006856, allocations: 1.243 MB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.007013, allocations: 4 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.007162, allocations: 19.73 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.00734, allocations: 31.67 kB / 275.4 MB, free: 14.66 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001232/0.008571, allocations: 322.8 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.008932, allocations: 227.4 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.009111, allocations: 42.81 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.00934, allocations: 143.6 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.009963, allocations: 103.3 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.01003, allocations: 20 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.01066, allocations: 315.3 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.01075, allocations: 55.81 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01086, allocations: 71.75 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.01163, allocations: 442.6 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.01164, allocations: 3.984 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01164, allocations: 4 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.01165, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.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.00128/0.01293, allocations: 0.502 MB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.01298, allocations: 11.98 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.01326, allocations: 48.78 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.01357, allocations: 193.3 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.0136, allocations: 12.66 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.01365, allocations: 20.38 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.01422, allocations: 200.3 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01423, allocations: 3.938 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.01425, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01426, allocations: 4 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.0148, allocations: 156.4 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.01607, allocations: 464.8 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.01726, allocations: 302.6 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.01759, allocations: 108.7 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.01762, allocations: 7.984 kB / 279.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.01811, allocations: 167.2 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 4.268e-06/0.01811, allocations: 4 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001212/0.01933, allocations: 356.7 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.0194, allocations: 63.39 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.01966, allocations: 203.6 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.01971, allocations: 37.69 kB / 280 MB, free: 9.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01986, allocations: 136.6 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.01994, allocations: 67.42 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.02008, allocations: 69.95 kB / 280.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.02028, allocations: 334.8 kB / 280.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.02069, allocations: 135.6 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.02112, allocations: 169.6 kB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.02187, allocations: 271.3 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.02187, allocations: 0 / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009906/0.02286, allocations: 391.7 kB / 281.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.02289, allocations: 8.781 kB / 281.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.0229, allocations: 4.031 kB / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.02292, allocations: 0 / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.02326, allocations: 71.89 kB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.02327, allocations: 0 / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.02347, allocations: 43.75 kB / 281.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.0235, allocations: 11.98 kB / 281.7 MB, free: 8.273 MB / 266.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.0002118/0.02371, allocations: 141.8 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.02377, allocations: 27.78 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.02384, allocations: 25.95 kB / 281.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02385, allocations: 0 / 281.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.02386, allocations: 0 / 281.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02386, allocations: 4 kB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.02512, allocations: 0.5252 MB / 282.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02512, allocations: 0 / 282.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.02538, allocations: 43.95 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.02539, allocations: 0 / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.02542, allocations: 7.938 kB / 282.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.02542, allocations: 4 kB / 282.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.02543, allocations: 7.984 kB / 282.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.02667, allocations: 483 kB / 282.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.02671, allocations: 27.84 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.02675, allocations: 8.062 kB / 282.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.02694, allocations: 19.97 kB / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.02701, allocations: 15.97 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.02703, allocations: 4 kB / 283 MB, free: 6.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.02726, allocations: 144.3 kB / 283.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02726, allocations: 0 / 283.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004981/0.02776, allocations: 111.6 kB / 283.2 MB, free: 6.629 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 (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.0008376/0.02859, allocations: 288.5 kB / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.02939, allocations: 270.4 kB / 283.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0294, allocations: 3.938 kB / 283.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.02975, allocations: 118.4 kB / 283.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.03011, allocations: 27.98 kB / 283.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.03128, allocations: 449.5 kB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.03145, allocations: 133.2 kB / 284.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.03159, allocations: 29.62 kB / 284.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.03167, allocations: 24.5 kB / 284.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03167, allocations: 0 / 284.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of Templates: time 0.01024/0.04191, allocations: 3.711 MB / 288.3 MB, free: 1.621 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.643885291065089]