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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 97.91 kB / 16.65 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 180.9 kB / 17.57 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002806, allocations: 9.281 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 50.42 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002293/0.1147, allocations: 1.555 MB / 353.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1172, allocations: 1.255 MB / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1174, allocations: 0 / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1175, allocations: 11.86 kB / 354.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1176, allocations: 19.86 kB / 354.7 MB, free: 0.8281 MB / 286.1 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.0009423/0.1186, allocations: 247.5 kB / 354.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1189, allocations: 211.5 kB / 355.1 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1191, allocations: 56.12 kB / 355.2 MB, free: 332 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1193, allocations: 79.62 kB / 355.3 MB, free: 252 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.12, allocations: 114.2 kB / 355.4 MB, free: 140 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.12, allocations: 8 kB / 355.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.1206, allocations: 295.5 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1207, allocations: 39.78 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1208, allocations: 113.1 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.1214, allocations: 371.1 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1214, allocations: 0 / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.1214, allocations: 0 / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1215, allocations: 3.938 kB / 356.2 MB, free: 15.32 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.001211/0.1227, allocations: 0.5585 MB / 356.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1227, allocations: 8.031 kB / 356.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.123, allocations: 36.64 kB / 356.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1234, allocations: 237.6 kB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.1234, allocations: 16.22 kB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.1235, allocations: 24 kB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.124, allocations: 218.9 kB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1241, allocations: 4 kB / 357.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1241, allocations: 8 kB / 357.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1241, allocations: 4 kB / 357.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.1246, allocations: 176.4 kB / 357.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1258, allocations: 0.5862 MB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1269, allocations: 378.7 kB / 358.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.1272, allocations: 132.7 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1273, allocations: 8 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.1277, allocations: 182.5 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.1277, allocations: 0 / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00107/0.1288, allocations: 417.1 kB / 359.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1289, allocations: 59.34 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1291, allocations: 207.8 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.1292, allocations: 37.69 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.1293, allocations: 140.5 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.1293, allocations: 67 kB / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.1294, allocations: 45.7 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1296, allocations: 338.8 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.1299, allocations: 151.8 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.1304, allocations: 178.2 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.1311, allocations: 312.6 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1311, allocations: 0 / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009116/0.132, allocations: 407.1 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1321, allocations: 8 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1321, allocations: 0 / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1321, allocations: 0 / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1324, allocations: 79.88 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1324, allocations: 3.984 kB / 361.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1326, allocations: 51.73 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.1327, allocations: 15.92 kB / 361.2 MB, free: 10.07 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.000173/0.1328, allocations: 141.6 kB / 361.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1329, allocations: 23.72 kB / 361.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.133, allocations: 21.86 kB / 361.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.133, allocations: 4 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.133, allocations: 0 / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.133, allocations: 0 / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1343, allocations: 0.6855 MB / 362.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1343, allocations: 0 / 362.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.1346, allocations: 59.95 kB / 362.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1346, allocations: 0 / 362.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.1346, allocations: 7.984 kB / 362.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1346, allocations: 3.938 kB / 362.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1346, allocations: 3.938 kB / 362.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1358, allocations: 0.5444 MB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1359, allocations: 92.86 kB / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.136, allocations: 16.05 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1362, allocations: 27.98 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1362, allocations: 15.97 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1362, allocations: 4 kB / 362.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1364, allocations: 147.2 kB / 363 MB, free: 8.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.1364, allocations: 4 kB / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00048/0.1369, allocations: 99.89 kB / 363.1 MB, free: 8.078 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 (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.0007591/0.1377, allocations: 257.7 kB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.1385, allocations: 323.8 kB / 363.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1385, allocations: 4.062 kB / 363.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.1389, allocations: 131.9 kB / 363.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1393, allocations: 29.08 kB / 363.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1403, allocations: 0.5401 MB / 364.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1407, allocations: 0.7359 MB / 365.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.1409, allocations: 29.94 kB / 365.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.1409, allocations: 31.42 kB / 365.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of SimCode: time 1.783e-06/0.141, allocations: 0 / 365.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of Templates: time 0.008677/0.1496, allocations: 3.426 MB / 368.6 MB, free: 2.578 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (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) 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) Reference file matches