Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001317/0.001317, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001389/0.001389, allocations: 169 kB / 24.5 MB, free: 3.453 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.43/1.43, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.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.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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.56 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 53.35 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003474/0.1113, allocations: 1.803 MB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1132, allocations: 0.9782 MB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1133, allocations: 0 / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.1135, allocations: 19.73 kB / 381.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1137, allocations: 39.64 kB / 381.8 MB, free: 12.81 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.0006065/0.1143, allocations: 187.5 kB / 381.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1146, allocations: 219.5 kB / 382.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1148, allocations: 60.47 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1149, allocations: 103.6 kB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.1156, allocations: 114 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.1156, allocations: 24 kB / 382.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.1159, allocations: 147.8 kB / 382.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.116, allocations: 67.69 kB / 382.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1161, allocations: 79.58 kB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.1166, allocations: 294.8 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1166, allocations: 0 / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1166, allocations: 0 / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1166, allocations: 4 kB / 383 MB, free: 11.54 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.001153/0.1177, allocations: 498.2 kB / 383.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1178, allocations: 12.03 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.118, allocations: 40.73 kB / 383.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1182, allocations: 182.1 kB / 383.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1183, allocations: 20.66 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.1183, allocations: 20.12 kB / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.1188, allocations: 197 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1189, allocations: 0 / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.1189, allocations: 7.984 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1189, allocations: 4 kB / 384 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.1194, allocations: 156.4 kB / 384.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1204, allocations: 468.7 kB / 384.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1216, allocations: 298.6 kB / 384.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.1219, allocations: 112.7 kB / 385 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1219, allocations: 0 / 385 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.1223, allocations: 163.2 kB / 385.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.1223, allocations: 0 / 385.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001381/0.1237, allocations: 365.2 kB / 385.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.1238, allocations: 63.39 kB / 385.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.124, allocations: 203.7 kB / 385.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.1241, allocations: 41.69 kB / 385.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1242, allocations: 132.6 kB / 386 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.1244, allocations: 75.38 kB / 386 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1245, allocations: 65.69 kB / 386.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.1248, allocations: 334.8 kB / 386.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.1254, allocations: 131.7 kB / 386.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/0.126, allocations: 177.4 kB / 386.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.1269, allocations: 275.2 kB / 387 MB, free: 7.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1269, allocations: 3.938 kB / 387 MB, free: 7.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001367/0.1282, allocations: 363.9 kB / 387.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.1283, allocations: 8 kB / 387.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1283, allocations: 4.031 kB / 387.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1283, allocations: 0 / 387.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.1288, allocations: 71.88 kB / 387.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1288, allocations: 0 / 387.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.129, allocations: 39.81 kB / 387.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.1291, allocations: 12 kB / 387.5 MB, free: 6.898 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.0002395/0.1293, allocations: 149.6 kB / 387.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1294, allocations: 15.91 kB / 387.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.097e-05/0.1295, allocations: 25.91 kB / 387.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1295, allocations: 7.938 kB / 387.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1295, allocations: 0 / 387.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1295, allocations: 3.984 kB / 387.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1311, allocations: 0.5252 MB / 388.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1311, allocations: 7.938 kB / 388.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.1315, allocations: 43.89 kB / 388.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1315, allocations: 0 / 388.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1315, allocations: 15.92 kB / 388.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1315, allocations: 0 / 388.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1315, allocations: 0 / 388.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1331, allocations: 483 kB / 388.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1332, allocations: 19.84 kB / 388.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.1332, allocations: 8.062 kB / 388.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.1335, allocations: 23.97 kB / 388.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.1336, allocations: 19.91 kB / 388.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1336, allocations: 4 kB / 388.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1338, allocations: 144.3 kB / 389 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1338, allocations: 0 / 389 MB, free: 5.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.1344, allocations: 67.83 kB / 389 MB, free: 5.297 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.000663/0.1351, allocations: 211.3 kB / 389.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.1362, allocations: 263.8 kB / 389.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1362, allocations: 4 kB / 389.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.1367, allocations: 103.9 kB / 389.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.1373, allocations: 27.98 kB / 389.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1389, allocations: 473.2 kB / 390.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.1391, allocations: 133.2 kB / 390.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.1393, allocations: 33.56 kB / 390.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.1395, allocations: 24.42 kB / 390.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1395, allocations: 0 / 390.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of Templates: time 0.01064/0.1501, allocations: 2.954 MB / 393.2 MB, free: 1.102 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.44206115801353]