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.001653/0.001653, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002079/0.002079, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 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 0.001514/0.001514, allocations: 47.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 53.34 MB / 427.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003631/0.119, allocations: 1.869 MB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1215, allocations: 1.313 MB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1216, allocations: 0 / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1217, allocations: 15.75 kB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.1219, allocations: 39.66 kB / 430.7 MB, free: 0.9883 MB / 350.1 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.0009244/0.1228, allocations: 307.2 kB / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1231, allocations: 223.4 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1233, allocations: 52.27 kB / 431.3 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1234, allocations: 103.5 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.124, allocations: 119.5 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.124, allocations: 20 kB / 431.6 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2164/0.3405, allocations: 299.3 kB / 431.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3406, allocations: 55.47 kB / 431.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3407, allocations: 101.8 kB / 432 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008219/0.3416, allocations: 392.8 kB / 432.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3416, allocations: 1.641 kB / 432.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3416, allocations: 0 / 432.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3416, allocations: 4.812 kB / 432.4 MB, free: 8.301 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.001155/0.3427, allocations: 0.5817 MB / 433 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3428, allocations: 9.125 kB / 433 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.343, allocations: 35.11 kB / 433 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3433, allocations: 241.9 kB / 433.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3433, allocations: 14.09 kB / 433.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.3434, allocations: 21.75 kB / 433.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.3439, allocations: 207.9 kB / 433.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3439, allocations: 1.094 kB / 433.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3439, allocations: 4.75 kB / 433.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3439, allocations: 7.219 kB / 433.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.3444, allocations: 153.9 kB / 433.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3455, allocations: 0.5753 MB / 434.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3465, allocations: 295.8 kB / 434.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3468, allocations: 108.6 kB / 434.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3468, allocations: 3.109 kB / 434.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.3473, allocations: 166 kB / 434.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.615e-06/0.3473, allocations: 0 / 434.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001177/0.3485, allocations: 356.9 kB / 435.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3485, allocations: 64.42 kB / 435.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.3487, allocations: 221.7 kB / 435.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3488, allocations: 36.06 kB / 435.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.3489, allocations: 134.9 kB / 435.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.3489, allocations: 69.2 kB / 435.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3491, allocations: 73.53 kB / 435.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.3491, allocations: 334.5 kB / 436 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.3495, allocations: 132.2 kB / 436.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.3499, allocations: 164.2 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3506, allocations: 264.2 kB / 436.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3506, allocations: 7.781 kB / 436.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008902/0.3515, allocations: 375.6 kB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3515, allocations: 5.391 kB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3515, allocations: 1.125 kB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3515, allocations: 2.219 kB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.3519, allocations: 71.45 kB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3519, allocations: 11.7 kB / 437.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3521, allocations: 37.91 kB / 437.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.3521, allocations: 14.09 kB / 437.1 MB, free: 6.363 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.000148/0.3523, allocations: 151.9 kB / 437.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.3523, allocations: 22.36 kB / 437.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.3524, allocations: 25.98 kB / 437.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3524, allocations: 2.188 kB / 437.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3524, allocations: 0.5156 kB / 437.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3524, allocations: 1.906 kB / 437.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3535, allocations: 0.621 MB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3535, allocations: 0.75 kB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3538, allocations: 48.48 kB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3538, allocations: 1.188 kB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3538, allocations: 3.266 kB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3538, allocations: 4.297 kB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3538, allocations: 0 / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3549, allocations: 489.8 kB / 438.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.355, allocations: 103 kB / 438.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.355, allocations: 11.75 kB / 438.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3552, allocations: 22.89 kB / 438.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.3553, allocations: 14.16 kB / 438.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3553, allocations: 10.44 kB / 438.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3554, allocations: 154 kB / 438.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3554, allocations: 0 / 438.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.356, allocations: 99.88 kB / 438.9 MB, free: 5.547 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.0006966/0.3567, allocations: 276.2 kB / 439.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.3575, allocations: 262.1 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3575, allocations: 0 / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.3579, allocations: 108.2 kB / 439.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3582, allocations: 32.5 kB / 439.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3593, allocations: 496.2 kB / 440 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.3595, allocations: 0.7393 MB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3596, allocations: 25.08 kB / 440.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3596, allocations: 1.5 kB / 440.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of Templates: time 0.009208/0.3688, allocations: 4.139 MB / 444.9 MB, free: 4.066 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.94356290900032]