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.001206/0.001206, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002744, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007847/0.0007847, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001805, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.115/1.115, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09765/1.213, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.372e-06/1.372e-06, allocations: 0 / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.775e-05, allocations: 2.312 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002879/0.002896, allocations: 1.905 MB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.005077, allocations: 1.297 MB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.005182, allocations: 4 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.305e-05/0.005265, allocations: 23.73 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.005378, allocations: 35.66 kB / 247.8 MB, free: 11.01 MB / 250.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.0007836/0.006161, allocations: 287 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.006427, allocations: 223.3 kB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.006576, allocations: 50.52 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.006819, allocations: 152.6 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.007279, allocations: 103.5 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.007336, allocations: 24 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.007939, allocations: 339.2 kB / 249 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.008003, allocations: 39.88 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.008081, allocations: 47.88 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.008635, allocations: 326.9 kB / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.008651, allocations: 0 / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008652, allocations: 0 / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.00867, allocations: 0 / 249.4 MB, free: 9.457 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.0009579/0.009628, allocations: 0.5354 MB / 249.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.009661, allocations: 12.03 kB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.009904, allocations: 122 kB / 250 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.01012, allocations: 166.8 kB / 250.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.01015, allocations: 16.66 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.01019, allocations: 20.36 kB / 250.2 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.01045, allocations: 134.9 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01046, allocations: 3.938 kB / 250.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.01048, allocations: 8 kB / 250.4 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.01049, allocations: 4 kB / 250.4 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.0106, allocations: 41.88 kB / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.01132, allocations: 342.2 kB / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.01173, allocations: 194.3 kB / 251 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.0118, allocations: 36.83 kB / 251 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.01182, allocations: 4 kB / 251 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.01199, allocations: 98.03 kB / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.01199, allocations: 0 / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002624/0.01226, allocations: 125.6 kB / 251.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.0123, allocations: 59.41 kB / 251.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.01245, allocations: 199 kB / 251.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.01249, allocations: 41.64 kB / 251.5 MB, free: 7.172 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.01256, allocations: 128.5 kB / 251.6 MB, free: 7.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.01262, allocations: 71.38 kB / 251.7 MB, free: 6.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.01271, allocations: 69.95 kB / 251.8 MB, free: 6.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01281, allocations: 334.8 kB / 252.1 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.01291, allocations: 46.34 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01301, allocations: 61.66 kB / 252.2 MB, free: 6.449 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01318, allocations: 109 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01318, allocations: 4 kB / 252.3 MB, free: 6.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002595/0.01344, allocations: 174.9 kB / 252.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01345, allocations: 4 kB / 252.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.01346, allocations: 7.984 kB / 252.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.01347, allocations: 0 / 252.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.01376, allocations: 83.88 kB / 252.6 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01376, allocations: 11.92 kB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01389, allocations: 35.77 kB / 252.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.01391, allocations: 15.98 kB / 252.6 MB, free: 5.996 MB / 250.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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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.0001088/0.01402, allocations: 132.6 kB / 252.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.01405, allocations: 15.98 kB / 252.8 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.0141, allocations: 17.97 kB / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0141, allocations: 0 / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01411, allocations: 7.922 kB / 252.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01411, allocations: 0 / 252.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.01454, allocations: 361.4 kB / 253.2 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01455, allocations: 4 kB / 253.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.01473, allocations: 47.95 kB / 253.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.01476, allocations: 23.83 kB / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01477, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01478, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01479, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01479, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.01511, allocations: 299.9 kB / 253.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.01514, allocations: 7.984 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01527, allocations: 23.98 kB / 253.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.01532, allocations: 15.91 kB / 253.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01533, allocations: 4.062 kB / 253.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.0154, allocations: 53.84 kB / 253.6 MB, free: 4.949 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0154, allocations: 0 / 253.6 MB, free: 4.949 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.01578, allocations: 111.7 kB / 253.7 MB, free: 4.84 MB / 250.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.0006507/0.01643, allocations: 308.5 kB / 254 MB, free: 4.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01668, allocations: 121.1 kB / 254.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.01669, allocations: 8.062 kB / 254.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.01678, allocations: 48.77 kB / 254.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01704, allocations: 39.97 kB / 254.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.01786, allocations: 383.3 kB / 254.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.01792, allocations: 83.84 kB / 254.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.01805, allocations: 33.61 kB / 254.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01818, allocations: 79.36 kB / 254.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01818, allocations: 0 / 254.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of Templates: time 0.008478/0.02666, allocations: 4.149 MB / 259 MB, free: 15.66 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3410630486905575]