Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 110.6 kB / 18.4 MB, free: 4.527 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.001785/0.001785, allocations: 190.1 kB / 19.34 MB, free: 3.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 47.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08452, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003/0.08758, allocations: 1.472 MB / 377.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.08888, allocations: 0.5576 MB / 377.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.08897, allocations: 0 / 377.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.08912, allocations: 7.875 kB / 377.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.0892, allocations: 23.8 kB / 377.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.08988, allocations: 151.5 kB / 378 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.09005, allocations: 119.6 kB / 378.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.09011, allocations: 16.84 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.09019, allocations: 55.77 kB / 378.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.09025, allocations: 51.77 kB / 378.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.09028, allocations: 12 kB / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.09056, allocations: 123.8 kB / 378.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.09063, allocations: 35.89 kB / 378.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.0907, allocations: 59.67 kB / 378.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.09103, allocations: 219.3 kB / 378.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.09104, allocations: 0 / 378.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09105, allocations: 0 / 378.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.09106, allocations: 0 / 378.7 MB, free: 1.66 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.0006497/0.09172, allocations: 450.9 kB / 379.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09176, allocations: 8.031 kB / 379.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.0921, allocations: 36.72 kB / 379.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.09228, allocations: 208 kB / 379.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.09232, allocations: 8.375 kB / 379.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.09234, allocations: 4.375 kB / 379.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.09259, allocations: 119.8 kB / 379.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.09261, allocations: 4.188 kB / 379.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.09263, allocations: 3.938 kB / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.09264, allocations: 0 / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.09282, allocations: 59.95 kB / 379.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.09347, allocations: 365.5 kB / 380 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.09379, allocations: 133.1 kB / 380.1 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.0939, allocations: 53.92 kB / 380.1 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.09393, allocations: 3.984 kB / 380.1 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1621/0.256, allocations: 140.1 kB / 380.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/0.2561, allocations: 3.719 kB / 380.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005575/0.2566, allocations: 225.3 kB / 380.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2567, allocations: 91.97 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2568, allocations: 183.3 kB / 380.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2569, allocations: 48.22 kB / 380.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.2569, allocations: 105.4 kB / 380.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.257, allocations: 38.03 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.2571, allocations: 57.7 kB / 381 MB, free: 12.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.2571, allocations: 332.2 kB / 381.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.2573, allocations: 95.22 kB / 381.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2575, allocations: 134.5 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.2578, allocations: 219.1 kB / 381.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2578, allocations: 0.9375 kB / 381.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004364/0.2583, allocations: 292.4 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2583, allocations: 8.453 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2583, allocations: 0 / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2583, allocations: 5.094 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2585, allocations: 33.22 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2585, allocations: 1.375 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.2586, allocations: 23.58 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2586, allocations: 10.02 kB / 382.1 MB, free: 12.18 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.0001322/0.2587, allocations: 153.2 kB / 382.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.2588, allocations: 14.06 kB / 382.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.2588, allocations: 16.36 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2588, allocations: 1.391 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2588, allocations: 1 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2589, allocations: 99.09 kB / 382.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2589, allocations: 8.266 kB / 382.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.259, allocations: 12.92 kB / 382.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.259, allocations: 9.25 kB / 382.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004107/0.2595, allocations: 340.7 kB / 382.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000428/0.2599, allocations: 430.6 kB / 383.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001504/0.2601, allocations: 64.62 kB / 383.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2602, allocations: 133.6 kB / 383.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of Backend: time 6.41e-07/0.2602, allocations: 3.531 kB / 383.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009944/0.2612, allocations: 336.7 kB / 383.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004747/0.2617, allocations: 0.6635 MB / 384.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Templates: time 0.005729/0.2674, allocations: 2.421 MB / 386.8 MB, free: 10.4 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches