Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.5 kB / 17.75 MB, free: 5.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.001299/0.0013, allocations: 187 kB / 18.68 MB, free: 4.406 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2474, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002409/0.2499, allocations: 1.481 MB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2509, allocations: 0.579 MB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.251, allocations: 0 / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.371e-05/0.2511, allocations: 11.88 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.2512, allocations: 19.8 kB / 403.5 MB, free: 6.777 MB / 318.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.0005081/0.2517, allocations: 143.6 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2518, allocations: 111.7 kB / 403.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.2519, allocations: 17.09 kB / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.252, allocations: 47.83 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.2525, allocations: 75.2 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.2525, allocations: 12 kB / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2527, allocations: 111.8 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.2528, allocations: 27.86 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.2529, allocations: 59.59 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.2531, allocations: 200.9 kB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2532, allocations: 0 / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2532, allocations: 0 / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2532, allocations: 0 / 404.3 MB, free: 5.992 MB / 318.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.0005927/0.2538, allocations: 454.6 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2538, allocations: 15.95 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.2541, allocations: 40.73 kB / 404.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2543, allocations: 192 kB / 405 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2543, allocations: 16.12 kB / 405 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2543, allocations: 4 kB / 405 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2546, allocations: 115.3 kB / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2546, allocations: 0 / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2546, allocations: 3.938 kB / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2546, allocations: 0 / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.2548, allocations: 63.89 kB / 405.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.2554, allocations: 373.5 kB / 405.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2557, allocations: 133.1 kB / 405.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2559, allocations: 53.77 kB / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2559, allocations: 0 / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.2561, allocations: 141 kB / 405.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2561, allocations: 0 / 405.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004973/0.2566, allocations: 237.9 kB / 406.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2567, allocations: 89.09 kB / 406.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2568, allocations: 170.4 kB / 406.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.2569, allocations: 41.7 kB / 406.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.257, allocations: 116.5 kB / 406.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.257, allocations: 39.53 kB / 406.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.2571, allocations: 57.92 kB / 406.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2572, allocations: 330.8 kB / 406.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2574, allocations: 104.3 kB / 407 MB, free: 3.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2576, allocations: 129.1 kB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.2579, allocations: 211.5 kB / 407.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.258, allocations: 0 / 407.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004609/0.2584, allocations: 285.3 kB / 407.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2584, allocations: 6.656 kB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2585, allocations: 12.05 kB / 407.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2585, allocations: 3.938 kB / 407.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2586, allocations: 27.98 kB / 407.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2587, allocations: 4 kB / 407.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.2587, allocations: 27.67 kB / 407.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2588, allocations: 8 kB / 407.7 MB, free: 2.285 MB / 318.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.0001249/0.2589, allocations: 145.8 kB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.2589, allocations: 19.81 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.259, allocations: 13.41 kB / 407.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.259, allocations: 4 kB / 407.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.259, allocations: 0 / 407.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.259, allocations: 100.9 kB / 408 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2591, allocations: 4 kB / 408 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.2591, allocations: 7.984 kB / 408 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.2592, allocations: 15.98 kB / 408 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003946/0.2596, allocations: 340.1 kB / 408.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003897/0.26, allocations: 433.7 kB / 408.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001245/0.2601, allocations: 55.97 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.381e-05/0.2602, allocations: 144.2 kB / 409 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of Backend: time 4.71e-07/0.2602, allocations: 3.938 kB / 409 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.2612, allocations: 308.7 kB / 409.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of SimCode: time 0.000521/0.2617, allocations: 0.6599 MB / 409.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Templates: time 0.004999/0.2667, allocations: 2.193 MB / 412.1 MB, free: 13.79 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches