Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 92.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.897e-05, allocations: 6.25 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003183/0.003212, allocations: 1.785 MB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.005697, allocations: 1.204 MB / 270.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.005773, allocations: 0 / 270.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.005903, allocations: 27.67 kB / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.006004, allocations: 31.72 kB / 270.4 MB, free: 3.641 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0009319/0.006936, allocations: 322.8 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.007226, allocations: 219.5 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.007376, allocations: 52.48 kB / 271 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.007556, allocations: 127.7 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.008101, allocations: 105.9 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.008148, allocations: 23.98 kB / 271.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.008688, allocations: 311.3 kB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.008767, allocations: 55.75 kB / 271.6 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.008873, allocations: 71.8 kB / 271.7 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.009502, allocations: 434.6 kB / 272.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.009505, allocations: 0 / 272.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.009506, allocations: 0 / 272.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.009512, allocations: 0 / 272.1 MB, free: 1.953 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.001191/0.0107, allocations: 0.5059 MB / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.01074, allocations: 12.91 kB / 272.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.01102, allocations: 40.8 kB / 272.6 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.01132, allocations: 191 kB / 272.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01135, allocations: 12.66 kB / 272.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.01142, allocations: 23.94 kB / 272.9 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.01195, allocations: 202.9 kB / 273.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.01196, allocations: 0 / 273.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.01199, allocations: 4 kB / 273.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.01199, allocations: 4 kB / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.01248, allocations: 152.4 kB / 273.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01355, allocations: 472 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.01467, allocations: 302.6 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.01499, allocations: 111.8 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01501, allocations: 4 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.01543, allocations: 163.3 kB / 274.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.01544, allocations: 0 / 274.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0011/0.01654, allocations: 361.2 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.0166, allocations: 59.39 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.01683, allocations: 186.4 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.01688, allocations: 41.78 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01699, allocations: 132.5 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.01707, allocations: 83.38 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.01719, allocations: 61.69 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.01738, allocations: 330.8 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.01776, allocations: 135.7 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.01815, allocations: 158.2 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.01883, allocations: 271.2 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01884, allocations: 0 / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000915/0.01975, allocations: 384.5 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01977, allocations: 11.88 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.01978, allocations: 3.984 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.0198, allocations: 4 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.02013, allocations: 71.92 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.02013, allocations: 0 / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.02031, allocations: 43.75 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.02034, allocations: 15.98 kB / 276.5 MB, free: 13.3 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.000166/0.02051, allocations: 145.6 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.02057, allocations: 27.91 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.02063, allocations: 17.97 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.02064, allocations: 7.984 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.02064, allocations: 4 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.02065, allocations: 0 / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.02187, allocations: 0.5475 MB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.02188, allocations: 3.984 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.02214, allocations: 43.91 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02215, allocations: 0 / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.02218, allocations: 11.98 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02218, allocations: 0 / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02218, allocations: 0 / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.02334, allocations: 0.4904 MB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.02337, allocations: 19.8 kB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.02341, allocations: 12.06 kB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.02362, allocations: 27.91 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.02368, allocations: 15.97 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.0237, allocations: 8 kB / 277.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.02384, allocations: 136.3 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02384, allocations: 0 / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000478/0.02432, allocations: 99.8 kB / 278.1 MB, free: 11.64 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 (18): * Single equations (assignments): 16 * 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.0007823/0.0251, allocations: 276.3 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008052/0.02591, allocations: 279.5 kB / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02591, allocations: 0 / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.02625, allocations: 111.8 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.02664, allocations: 43.86 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.02761, allocations: 432.9 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.02776, allocations: 133.1 kB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.02788, allocations: 29.62 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.02797, allocations: 20.5 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02797, allocations: 0 / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Templates: time 0.008945/0.03692, allocations: 3.737 MB / 283.2 MB, free: 6.613 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.508073890930973]