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.001733/0.001734, allocations: 108 kB / 16.92 MB, free: 6.332 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.002189/0.002188, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.4/1.4, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 51.17 kB / 300.6 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 49.44 MB / 350 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004578/0.1487, allocations: 1.839 MB / 351.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.1514, allocations: 1.245 MB / 353.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1515, allocations: 7.938 kB / 353.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1517, allocations: 19.73 kB / 353.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1519, allocations: 31.72 kB / 353.2 MB, free: 1.188 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.001154/0.153, allocations: 307.1 kB / 353.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1534, allocations: 219.4 kB / 353.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1536, allocations: 72.12 kB / 353.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.1538, allocations: 95.62 kB / 353.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.1546, allocations: 126.3 kB / 354 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.1547, allocations: 20 kB / 354 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005697/0.1553, allocations: 283.6 kB / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.1554, allocations: 55.81 kB / 354.3 MB, free: 36 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1555, allocations: 95.45 kB / 354.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.1562, allocations: 383.2 kB / 354.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1562, allocations: 3.984 kB / 354.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1563, allocations: 0 / 354.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1563, allocations: 4 kB / 354.8 MB, free: 15.56 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.001378/0.1577, allocations: 0.5623 MB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1577, allocations: 12.03 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.158, allocations: 32.64 kB / 355.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1583, allocations: 237.6 kB / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.1583, allocations: 24.2 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.1584, allocations: 20 kB / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.1589, allocations: 191 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1589, allocations: 0 / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.1589, allocations: 11.98 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.159, allocations: 4 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.1594, allocations: 156.3 kB / 356.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1606, allocations: 0.5784 MB / 356.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1617, allocations: 310.6 kB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.162, allocations: 108.8 kB / 357 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.162, allocations: 16.06 kB / 357.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.1624, allocations: 159.3 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.1624, allocations: 0 / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001037/0.1635, allocations: 358.8 kB / 357.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.1635, allocations: 59.39 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1638, allocations: 211.7 kB / 357.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1639, allocations: 45.7 kB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.164, allocations: 128.5 kB / 358 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.164, allocations: 78.89 kB / 358.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1642, allocations: 65.69 kB / 358.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1643, allocations: 342.7 kB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.1647, allocations: 127.9 kB / 358.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.1652, allocations: 158.5 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.1659, allocations: 276.3 kB / 359 MB, free: 11.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1659, allocations: 0 / 359 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009029/0.1668, allocations: 370.8 kB / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1668, allocations: 8 kB / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1669, allocations: 0 / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1669, allocations: 0 / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1672, allocations: 71.89 kB / 359.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.1672, allocations: 0 / 359.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1674, allocations: 39.72 kB / 359.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1674, allocations: 19.94 kB / 359.5 MB, free: 10.62 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.0001728/0.1676, allocations: 141.6 kB / 359.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1677, allocations: 15.81 kB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.1677, allocations: 25.86 kB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1678, allocations: 4 kB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1678, allocations: 0 / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1678, allocations: 0 / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.169, allocations: 0.6346 MB / 360.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.169, allocations: 4 kB / 360.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1693, allocations: 43.91 kB / 360.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1693, allocations: 4 kB / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1693, allocations: 7.984 kB / 360.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.1693, allocations: 4 kB / 360.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1693, allocations: 0 / 360.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1704, allocations: 488.9 kB / 360.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1705, allocations: 96.8 kB / 361 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.1705, allocations: 12 kB / 361 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1707, allocations: 23.97 kB / 361 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.1708, allocations: 15.98 kB / 361 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1708, allocations: 7.984 kB / 361 MB, free: 9.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1709, allocations: 147.2 kB / 361.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.171, allocations: 0 / 361.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.1714, allocations: 99.89 kB / 361.3 MB, free: 8.766 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.000706/0.1722, allocations: 259.4 kB / 361.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.173, allocations: 307.6 kB / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.173, allocations: 0 / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.1734, allocations: 115.9 kB / 361.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1737, allocations: 34.39 kB / 362 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1747, allocations: 454.7 kB / 362.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.175, allocations: 0.7359 MB / 363.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1752, allocations: 33.92 kB / 363.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.1752, allocations: 27.42 kB / 363.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1753, allocations: 0 / 363.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of Templates: time 0.008726/0.184, allocations: 3.597 MB / 366.8 MB, free: 3.219 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