Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001625, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001557, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.42 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.121, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003813/0.1249, allocations: 1.853 MB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1274, allocations: 1.298 MB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.1275, allocations: 4 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1277, allocations: 27.67 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1278, allocations: 31.72 kB / 360.7 MB, free: 10.83 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008774/0.1287, allocations: 315.1 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.129, allocations: 211.5 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1292, allocations: 60.27 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1293, allocations: 99.61 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.1299, allocations: 130.1 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.13, allocations: 24 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1305, allocations: 271.6 kB / 361.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.1306, allocations: 63.75 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1307, allocations: 99.45 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.1313, allocations: 383.2 kB / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.215 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.001271/0.1326, allocations: 0.5817 MB / 363 MB, free: 8.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1326, allocations: 8.031 kB / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.1328, allocations: 36.64 kB / 363 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1332, allocations: 247.7 kB / 363.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.1332, allocations: 16.66 kB / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.1332, allocations: 20.12 kB / 363.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.1338, allocations: 202.7 kB / 363.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1338, allocations: 3.938 kB / 363.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1338, allocations: 4 kB / 363.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1339, allocations: 7.984 kB / 363.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.1344, allocations: 156.4 kB / 363.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1355, allocations: 0.575 MB / 364.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1367, allocations: 306.6 kB / 364.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1371, allocations: 120.8 kB / 364.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1371, allocations: 7.984 kB / 364.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.1375, allocations: 162.2 kB / 364.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.714e-06/0.1375, allocations: 0 / 364.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001126/0.1387, allocations: 349.2 kB / 365.1 MB, free: 6.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.1388, allocations: 71.33 kB / 365.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.139, allocations: 218.7 kB / 365.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.1391, allocations: 41.7 kB / 365.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1392, allocations: 128.5 kB / 365.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.1393, allocations: 71 kB / 365.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1394, allocations: 69.67 kB / 365.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1396, allocations: 334.8 kB / 366.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.14, allocations: 131.9 kB / 366.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1404, allocations: 157.6 kB / 366.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.1412, allocations: 271.2 kB / 366.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1412, allocations: 0 / 366.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008912/0.1421, allocations: 383.4 kB / 367 MB, free: 4.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1421, allocations: 4 kB / 367 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1421, allocations: 0 / 367 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1421, allocations: 4 kB / 367 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.1425, allocations: 71.88 kB / 367.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1425, allocations: 0 / 367.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1427, allocations: 47.66 kB / 367.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.1427, allocations: 12 kB / 367.1 MB, free: 4.23 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.0001632/0.1429, allocations: 153.5 kB / 367.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.1429, allocations: 15.81 kB / 367.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.143, allocations: 25.86 kB / 367.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.143, allocations: 0 / 367.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.143, allocations: 0 / 367.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.143, allocations: 4 kB / 367.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1443, allocations: 0.619 MB / 367.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1443, allocations: 0 / 367.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1446, allocations: 51.95 kB / 368 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1446, allocations: 0 / 368 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1446, allocations: 8 kB / 368 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1446, allocations: 3.938 kB / 368 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1446, allocations: 0 / 368 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1458, allocations: 487.4 kB / 368.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.1459, allocations: 96.89 kB / 368.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.1459, allocations: 12 kB / 368.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1461, allocations: 23.97 kB / 368.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.1462, allocations: 15.98 kB / 368.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1462, allocations: 7.984 kB / 368.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1464, allocations: 152.7 kB / 368.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1464, allocations: 0 / 368.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005168/0.1469, allocations: 107.8 kB / 368.9 MB, free: 2.367 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 (17): * Single equations (assignments): 15 * 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.0007353/0.1476, allocations: 254.9 kB / 369.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.1485, allocations: 291.7 kB / 369.4 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1485, allocations: 0 / 369.4 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.1489, allocations: 122.4 kB / 369.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1492, allocations: 31.81 kB / 369.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1504, allocations: 466.6 kB / 370 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1508, allocations: 0.7359 MB / 370.7 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.151, allocations: 33.94 kB / 370.8 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.1511, allocations: 27.42 kB / 370.8 MB, free: 408 kB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1511, allocations: 0 / 370.8 MB, free: 408 kB / 302.1 MB Notification: Performance of Templates: time 0.1813/0.3324, allocations: 3.578 MB / 374.4 MB, free: 19.39 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches