Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.0008701, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.0008696/0.0008696, allocations: 179.3 kB / 17.2 MB, free: 6.016 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.416/1.416, allocations: 223.2 MB / 241.1 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002796, allocations: 8 kB / 300.7 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 50.42 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002216/0.1226, allocations: 1.52 MB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1244, allocations: 0.9165 MB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1246, allocations: 4 kB / 353.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1248, allocations: 15.8 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.125, allocations: 19.91 kB / 353.6 MB, free: 1.543 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.0006831/0.1257, allocations: 143.6 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.126, allocations: 127.7 kB / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1262, allocations: 48.12 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1263, allocations: 79.67 kB / 354 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1266, allocations: 99.56 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.1266, allocations: 12 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.1268, allocations: 83.88 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.1269, allocations: 39.83 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.127, allocations: 53.58 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1273, allocations: 203.8 kB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1273, allocations: 0 / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1273, allocations: 4 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1273, allocations: 0 / 354.5 MB, free: 0.6602 MB / 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.00119/0.1285, allocations: 0.5427 MB / 355 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1286, allocations: 8.031 kB / 355 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.1288, allocations: 39.64 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1291, allocations: 232.4 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.1292, allocations: 16.28 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.1292, allocations: 20 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.1298, allocations: 210.9 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1298, allocations: 4 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1298, allocations: 8 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1298, allocations: 7.953 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.1303, allocations: 180.4 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1314, allocations: 0.5824 MB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1325, allocations: 374.9 kB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1325, allocations: 0 / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.1329, allocations: 186.6 kB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.133, allocations: 0 / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001073/0.134, allocations: 496.3 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1341, allocations: 59.41 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1343, allocations: 219.6 kB / 357.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.1344, allocations: 41.69 kB / 357.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.1345, allocations: 120.6 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.1345, allocations: 79 kB / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.1346, allocations: 8 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1347, allocations: 342.8 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.135, allocations: 147.9 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.1354, allocations: 177.6 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.1358, allocations: 154.9 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1358, allocations: 0 / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008226/0.1366, allocations: 418.5 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1366, allocations: 4 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1366, allocations: 0 / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1367, allocations: 7.938 kB / 359.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.137, allocations: 75.89 kB / 359.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.137, allocations: 4 kB / 359.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1372, allocations: 51.67 kB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1372, allocations: 8 kB / 359.2 MB, free: 11.67 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.1374, allocations: 153.6 kB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1374, allocations: 19.72 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.1375, allocations: 25.84 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1375, allocations: 0 / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1376, allocations: 0 / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1376, allocations: 0 / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.1387, allocations: 0.6797 MB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1387, allocations: 11.92 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.139, allocations: 47.97 kB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.139, allocations: 4 kB / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.139, allocations: 7.984 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.139, allocations: 0 / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.139, allocations: 3.953 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1401, allocations: 0.5354 MB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.1401, allocations: 100.8 kB / 360.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1402, allocations: 8.062 kB / 360.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1404, allocations: 27.97 kB / 360.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.1404, allocations: 19.94 kB / 360.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1405, allocations: 4 kB / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1406, allocations: 151.2 kB / 361 MB, free: 9.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1406, allocations: 0 / 361 MB, free: 9.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.141, allocations: 64 kB / 361.1 MB, free: 9.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/0.1414, allocations: 193 kB / 361.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.1422, allocations: 325.9 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1422, allocations: 0 / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1425, allocations: 135.9 kB / 361.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1428, allocations: 27.92 kB / 361.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.1437, allocations: 0.5187 MB / 362.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.144, allocations: 0.7476 MB / 363 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1441, allocations: 25.94 kB / 363 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.1442, allocations: 23.42 kB / 363.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1442, allocations: 4 kB / 363.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of Templates: time 0.00608/0.1503, allocations: 2.699 MB / 365.8 MB, free: 5.016 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches