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.001541/0.001541, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.00183/0.00183, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.383/1.383, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 48.33 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 49.45 MB / 350.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004177/0.1372, allocations: 1.831 MB / 351.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1393, allocations: 0.9834 MB / 352.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.1395, allocations: 4 kB / 352.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1397, allocations: 23.73 kB / 352.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.14, allocations: 23.73 kB / 352.9 MB, free: 1.527 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.0007483/0.1408, allocations: 183.5 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1411, allocations: 215.5 kB / 353.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1413, allocations: 72.11 kB / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1415, allocations: 91.64 kB / 353.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006466/0.1421, allocations: 127.5 kB / 353.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.1422, allocations: 24 kB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1426, allocations: 119.8 kB / 353.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1427, allocations: 59.83 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1428, allocations: 99.39 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.1433, allocations: 291.4 kB / 354.2 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1434, allocations: 4 kB / 354.2 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1434, allocations: 3.938 kB / 354.2 MB, free: 268 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1434, allocations: 0 / 354.2 MB, free: 268 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.001397/0.1448, allocations: 0.5467 MB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1449, allocations: 16.03 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.1451, allocations: 36.64 kB / 354.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1454, allocations: 237.6 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1455, allocations: 24.2 kB / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.1455, allocations: 16 kB / 355.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.146, allocations: 194.9 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1461, allocations: 4 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1461, allocations: 4 kB / 355.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1461, allocations: 4 kB / 355.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1466, allocations: 152.4 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1478, allocations: 0.5823 MB / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1488, allocations: 314.5 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1492, allocations: 112.8 kB / 356.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1492, allocations: 8.062 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.1496, allocations: 174.2 kB / 356.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.1497, allocations: 0 / 356.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001039/0.1507, allocations: 353.1 kB / 356.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1508, allocations: 59.41 kB / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.151, allocations: 211.7 kB / 357.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1511, allocations: 41.69 kB / 357.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.1512, allocations: 124.6 kB / 357.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.1513, allocations: 70.91 kB / 357.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1514, allocations: 77.67 kB / 357.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1516, allocations: 334.8 kB / 357.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.1519, allocations: 131.9 kB / 358 MB, free: 12.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1523, allocations: 158.5 kB / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.1529, allocations: 276.3 kB / 358.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.153, allocations: 0 / 358.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008198/0.1538, allocations: 366.8 kB / 358.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1538, allocations: 4 kB / 358.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1538, allocations: 3.938 kB / 358.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1539, allocations: 4.031 kB / 358.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1542, allocations: 75.88 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1542, allocations: 0 / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1544, allocations: 39.72 kB / 358.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1545, allocations: 15.94 kB / 358.9 MB, free: 11.33 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.000246/0.1547, allocations: 145.6 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1548, allocations: 15.81 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.1548, allocations: 21.88 kB / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1548, allocations: 4 kB / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1549, allocations: 0 / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1549, allocations: 3.984 kB / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.1562, allocations: 0.6373 MB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1562, allocations: 0 / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1565, allocations: 47.95 kB / 359.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1565, allocations: 4 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1565, allocations: 0 / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1565, allocations: 4 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1565, allocations: 3.938 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1576, allocations: 493.2 kB / 360.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.1577, allocations: 96.86 kB / 360.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.1578, allocations: 8.062 kB / 360.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.158, allocations: 24.09 kB / 360.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.1581, allocations: 15.98 kB / 360.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1581, allocations: 7.984 kB / 360.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1583, allocations: 155.2 kB / 360.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1583, allocations: 0 / 360.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.1587, allocations: 63.91 kB / 360.6 MB, free: 9.504 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.0004713/0.1592, allocations: 190.6 kB / 360.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.16, allocations: 299.6 kB / 361.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.16, allocations: 4 kB / 361.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1604, allocations: 118 kB / 361.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1607, allocations: 33.77 kB / 361.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1619, allocations: 454.8 kB / 361.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.1623, allocations: 0.7398 MB / 362.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1625, allocations: 29.94 kB / 362.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.1625, allocations: 23.42 kB / 362.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of SimCode: time 2.334e-06/0.1626, allocations: 0 / 362.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of Templates: time 0.007507/0.1701, allocations: 2.96 MB / 365.4 MB, free: 4.664 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches