Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001272, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001443, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.62 kB / 306.9 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003683/0.1064, allocations: 1.941 MB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1084, allocations: 1.021 MB / 360.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1086, allocations: 7.938 kB / 360.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1088, allocations: 11.86 kB / 360.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1091, allocations: 31.84 kB / 360.4 MB, free: 11.24 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006198/0.1097, allocations: 147.7 kB / 360.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.11, allocations: 207.5 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1102, allocations: 72.23 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1103, allocations: 83.62 kB / 360.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.111, allocations: 113.6 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.1111, allocations: 16 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.1113, allocations: 111.8 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.1114, allocations: 43.83 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1115, allocations: 95.39 kB / 361.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1119, allocations: 203.9 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.1119, allocations: 0 / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1119, allocations: 3.938 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.1119, allocations: 4 kB / 361.5 MB, free: 10.16 MB / 302.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.001236/0.1131, allocations: 0.5528 MB / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1132, allocations: 12.03 kB / 362.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.1134, allocations: 44.62 kB / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1137, allocations: 243.7 kB / 362.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1138, allocations: 12.66 kB / 362.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.1138, allocations: 28.12 kB / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.1143, allocations: 194.7 kB / 362.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1144, allocations: 0 / 362.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1144, allocations: 8 kB / 362.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1144, allocations: 8 kB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.1149, allocations: 157.2 kB / 362.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.116, allocations: 0.5711 MB / 363.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1171, allocations: 310.6 kB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.1175, allocations: 112.8 kB / 363.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1175, allocations: 4 kB / 363.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1179, allocations: 169.1 kB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.1179, allocations: 0 / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001092/0.119, allocations: 357.2 kB / 364.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1191, allocations: 67.39 kB / 364.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1193, allocations: 214.7 kB / 364.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.1194, allocations: 45.69 kB / 364.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1195, allocations: 128.5 kB / 364.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1196, allocations: 70.98 kB / 364.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1197, allocations: 73.62 kB / 364.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1199, allocations: 334.8 kB / 365.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.1202, allocations: 131.9 kB / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.1206, allocations: 157.6 kB / 365.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.1213, allocations: 279.1 kB / 365.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1213, allocations: 0 / 365.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008422/0.1222, allocations: 383.4 kB / 366.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1222, allocations: 4 kB / 366.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1222, allocations: 0 / 366.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1222, allocations: 4 kB / 366.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.1226, allocations: 75.91 kB / 366.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1226, allocations: 4 kB / 366.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1228, allocations: 43.66 kB / 366.2 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1229, allocations: 4 kB / 366.2 MB, free: 5.203 MB / 302.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.0001849/0.1231, allocations: 150.5 kB / 366.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.1231, allocations: 23.8 kB / 366.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.1232, allocations: 17.88 kB / 366.4 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1232, allocations: 4 kB / 366.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1232, allocations: 0 / 366.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1232, allocations: 3.984 kB / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1243, allocations: 0.6268 MB / 367.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1243, allocations: 0 / 367.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1246, allocations: 39.95 kB / 367.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1246, allocations: 4 kB / 367.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1246, allocations: 7.938 kB / 367.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1246, allocations: 0 / 367.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1246, allocations: 0 / 367.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1257, allocations: 487.2 kB / 367.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.1258, allocations: 96.91 kB / 367.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1259, allocations: 12 kB / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.126, allocations: 19.97 kB / 367.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1261, allocations: 11.98 kB / 367.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1261, allocations: 7.984 kB / 367.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1263, allocations: 156.7 kB / 367.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1263, allocations: 4 kB / 367.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.1267, allocations: 75.78 kB / 368 MB, free: 3.375 MB / 302.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.0004468/0.1271, allocations: 199.4 kB / 368.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007662/0.1279, allocations: 271.8 kB / 368.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1279, allocations: 4 kB / 368.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.1283, allocations: 111.9 kB / 368.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1286, allocations: 31.88 kB / 368.6 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1296, allocations: 0.54 MB / 369.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1299, allocations: 0.7398 MB / 369.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.13, allocations: 27.42 kB / 369.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1301, allocations: 0 / 369.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of Templates: time 0.1644/0.2945, allocations: 3.357 MB / 373.2 MB, free: 18.99 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var