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.001115/0.001115, allocations: 114.1 kB / 17.69 MB, free: 5.312 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.001058/0.001058, allocations: 191 kB / 18.63 MB, free: 4.379 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001615, allocations: 52.33 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 49.45 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.0031/0.1389, allocations: 1.825 MB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1406, allocations: 0.982 MB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.1407, allocations: 0 / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.1409, allocations: 19.73 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1411, allocations: 31.66 kB / 354.4 MB, free: 0.8047 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.0005784/0.1417, allocations: 183.5 kB / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1419, allocations: 227.5 kB / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1421, allocations: 64.14 kB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1422, allocations: 99.61 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.1428, allocations: 115.6 kB / 355 MB, free: 132 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1428, allocations: 28 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.1431, allocations: 119.8 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1432, allocations: 63.81 kB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1433, allocations: 99.39 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.1437, allocations: 295 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1437, allocations: 11.92 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1437, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1437, allocations: 0 / 355.7 MB, free: 15.52 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.001112/0.1448, allocations: 0.5467 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1449, allocations: 8.031 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.1451, allocations: 36.64 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1454, allocations: 237.6 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1454, allocations: 20.22 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.1455, allocations: 23.97 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1459, allocations: 191.6 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1459, allocations: 0 / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1459, allocations: 8 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.146, allocations: 4 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.1464, allocations: 156.4 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.1474, allocations: 0.5745 MB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.1483, allocations: 306.6 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1486, allocations: 116.8 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1487, allocations: 4 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1491, allocations: 167.3 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.1491, allocations: 0 / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009508/0.15, allocations: 366.5 kB / 358.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1501, allocations: 59.41 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1503, allocations: 211.7 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.1504, allocations: 45.69 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.1505, allocations: 124.7 kB / 358.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.1506, allocations: 74.91 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1507, allocations: 69.69 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1508, allocations: 334.8 kB / 359.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.1511, allocations: 131.9 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1515, allocations: 165.7 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1521, allocations: 268.3 kB / 359.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1521, allocations: 0 / 359.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007612/0.1529, allocations: 366.8 kB / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1529, allocations: 10.59 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1529, allocations: 0 / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1529, allocations: 8.031 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1533, allocations: 71.88 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1533, allocations: 0 / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1535, allocations: 39.72 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.1535, allocations: 19.94 kB / 360.3 MB, free: 10.6 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.0001656/0.1537, allocations: 141.6 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1537, allocations: 23.8 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.1538, allocations: 21.88 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1538, allocations: 0 / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1538, allocations: 0 / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1538, allocations: 3.984 kB / 360.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.155, allocations: 0.6347 MB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.155, allocations: 0 / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1552, allocations: 51.89 kB / 361.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1552, allocations: 0 / 361.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1553, allocations: 8 kB / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1553, allocations: 0 / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1553, allocations: 0 / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.1563, allocations: 497 kB / 361.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.1563, allocations: 96.86 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1564, allocations: 8.062 kB / 361.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1566, allocations: 19.97 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.1566, allocations: 11.98 kB / 361.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1566, allocations: 11.98 kB / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1568, allocations: 155.2 kB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1568, allocations: 0 / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1572, allocations: 63.91 kB / 362.1 MB, free: 8.77 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.0004307/0.1576, allocations: 211.8 kB / 362.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.1583, allocations: 283.6 kB / 362.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1583, allocations: 0 / 362.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1586, allocations: 115.9 kB / 362.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.159, allocations: 23.92 kB / 362.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.1599, allocations: 450.8 kB / 363.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1602, allocations: 0.7398 MB / 363.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1603, allocations: 25.94 kB / 363.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1604, allocations: 23.44 kB / 363.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1604, allocations: 4 kB / 363.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of Templates: time 0.006454/0.1669, allocations: 2.945 MB / 366.9 MB, free: 3.961 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 -s gbode -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/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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches