Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002528/0.2637, allocations: 1.492 MB / 411.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2648, allocations: 0.5754 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.2648, allocations: 0 / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.817e-05/0.2649, allocations: 7.875 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.265, allocations: 19.8 kB / 412 MB, free: 15.5 MB / 334.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.000522/0.2656, allocations: 147.6 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2657, allocations: 115.6 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2658, allocations: 9.109 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.2658, allocations: 47.84 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.2664, allocations: 69.52 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2664, allocations: 8 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.2666, allocations: 115.8 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.2667, allocations: 31.91 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.2667, allocations: 55.66 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.267, allocations: 199.1 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.267, allocations: 4 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2671, allocations: 0 / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2671, allocations: 0 / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006358/0.2677, allocations: 456.2 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2678, allocations: 12.02 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.2681, allocations: 40.73 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2683, allocations: 196.1 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2683, allocations: 8.375 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2683, allocations: 8.375 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2686, allocations: 115.5 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2686, allocations: 3.938 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2686, allocations: 0 / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2686, allocations: 3.984 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.2688, allocations: 59.95 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.2694, allocations: 373.4 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.2697, allocations: 129.1 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2699, allocations: 53.77 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.2699, allocations: 0 / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.2701, allocations: 145.1 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.2701, allocations: 4 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004926/0.2706, allocations: 237.3 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.2707, allocations: 89.09 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2709, allocations: 174.3 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2709, allocations: 53.62 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.271, allocations: 104.6 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.271, allocations: 39.55 kB / 415.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.2711, allocations: 57.92 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2713, allocations: 334.8 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.2714, allocations: 92.45 kB / 415.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.2716, allocations: 132.4 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.272, allocations: 214.9 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.272, allocations: 4 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004503/0.2724, allocations: 293.2 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2725, allocations: 8 kB / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2725, allocations: 0 / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2725, allocations: 64 / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2726, allocations: 35.92 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2727, allocations: 4 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.2727, allocations: 23.83 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2728, allocations: 4 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001356/0.2729, allocations: 149.6 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.2729, allocations: 19.81 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.273, allocations: 17.41 kB / 416.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.273, allocations: 0 / 416.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.273, allocations: 0 / 416.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.2731, allocations: 93.03 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.2731, allocations: 15.92 kB / 416.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.2732, allocations: 7.922 kB / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.2732, allocations: 15.98 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004036/0.2736, allocations: 340.1 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003881/0.274, allocations: 430.3 kB / 417.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/0.2741, allocations: 55.97 kB / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.2743, allocations: 140.2 kB / 417.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2743, allocations: 7.938 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009018/0.2752, allocations: 311.1 kB / 417.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005831/0.2758, allocations: 0.6561 MB / 418.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Templates: time 0.00527/0.281, allocations: 2.203 MB / 420.7 MB, free: 6.488 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches