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.001413/0.001418, allocations: 110 kB / 16.51 MB, free: 6.707 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.001948/0.001949, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 47.69 kB / 299.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1088, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003038/0.1119, allocations: 1.91 MB / 351.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.114, allocations: 1.294 MB / 352.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1141, allocations: 4 kB / 352.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1143, allocations: 11.86 kB / 352.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.1144, allocations: 11.86 kB / 352.6 MB, free: 1.602 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.0008283/0.1152, allocations: 255.5 kB / 352.9 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1155, allocations: 207.5 kB / 353.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1156, allocations: 60.12 kB / 353.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.1157, allocations: 83.62 kB / 353.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.1163, allocations: 111.5 kB / 353.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1163, allocations: 12 kB / 353.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1168, allocations: 303.4 kB / 353.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1168, allocations: 47.77 kB / 353.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.1169, allocations: 87.5 kB / 353.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1174, allocations: 379.2 kB / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1174, allocations: 0 / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1174, allocations: 0 / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1174, allocations: 0 / 354.1 MB, free: 88 kB / 286.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.001216/0.1186, allocations: 0.5802 MB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1187, allocations: 8.031 kB / 354.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1189, allocations: 36.64 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.1193, allocations: 233.6 kB / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1193, allocations: 20.22 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.1194, allocations: 24 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.1199, allocations: 194.9 kB / 355.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1199, allocations: 0 / 355.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1199, allocations: 11.94 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1199, allocations: 4 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.1204, allocations: 148.4 kB / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1215, allocations: 0.5862 MB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1226, allocations: 298.7 kB / 356.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.1229, allocations: 120.7 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1229, allocations: 4 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.1233, allocations: 165.9 kB / 356.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.1233, allocations: 7.938 kB / 356.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00101/0.1244, allocations: 351.4 kB / 356.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1244, allocations: 59.41 kB / 357 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1246, allocations: 215.6 kB / 357.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.1247, allocations: 41.7 kB / 357.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1248, allocations: 128.7 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1249, allocations: 74.91 kB / 357.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.125, allocations: 61.69 kB / 357.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1251, allocations: 342.8 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.1256, allocations: 131.9 kB / 357.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.126, allocations: 154.5 kB / 358.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.1266, allocations: 272.3 kB / 358.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1267, allocations: 0 / 358.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009904/0.1277, allocations: 374.7 kB / 358.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1277, allocations: 8 kB / 358.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1277, allocations: 0 / 358.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1277, allocations: 0 / 358.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.128, allocations: 67.89 kB / 358.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1281, allocations: 0 / 358.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1282, allocations: 47.75 kB / 358.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1283, allocations: 15.94 kB / 358.8 MB, free: 11.14 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.0001546/0.1284, allocations: 141.6 kB / 359 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.1285, allocations: 19.8 kB / 359 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.1286, allocations: 25.86 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1286, allocations: 8 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1286, allocations: 3.938 kB / 359 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1286, allocations: 0 / 359 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1298, allocations: 0.6424 MB / 359.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1298, allocations: 3.938 kB / 359.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.13, allocations: 39.97 kB / 359.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1301, allocations: 7.984 kB / 359.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.1301, allocations: 0 / 359.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1301, allocations: 3.938 kB / 359.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1301, allocations: 4 kB / 359.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1312, allocations: 496.9 kB / 360.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1313, allocations: 92.86 kB / 360.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.1314, allocations: 8.062 kB / 360.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1315, allocations: 23.97 kB / 360.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.1316, allocations: 11.98 kB / 360.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1316, allocations: 7.984 kB / 360.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1318, allocations: 147.2 kB / 360.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 360.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.1322, allocations: 107.9 kB / 360.6 MB, free: 9.273 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.0006366/0.1329, allocations: 265.2 kB / 360.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007293/0.1336, allocations: 283.7 kB / 361.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1336, allocations: 4.062 kB / 361.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.134, allocations: 119.8 kB / 361.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1344, allocations: 16 kB / 361.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.1353, allocations: 0.5103 MB / 361.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1357, allocations: 0.7398 MB / 362.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1358, allocations: 25.94 kB / 362.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.1359, allocations: 27.42 kB / 362.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1359, allocations: 4 kB / 362.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of Templates: time 0.007293/0.1432, allocations: 3.467 MB / 366.1 MB, free: 3.812 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