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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.00201, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007317/0.0007317, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009954/0.001727, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9232/0.9232, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1562/1.079, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,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=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.669e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003299/0.003325, allocations: 1.556 MB / 223.5 MB, free: 14.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.004293, allocations: 0.5729 MB / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.004333, allocations: 0 / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.004378, allocations: 11.88 kB / 224.1 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.004424, allocations: 19.73 kB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.004754, allocations: 147.4 kB / 224.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004862, allocations: 115.6 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.004892, allocations: 13.95 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.004987, allocations: 87.75 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.00503, allocations: 47.86 kB / 224.6 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.005047, allocations: 8 kB / 224.6 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.005245, allocations: 163.7 kB / 224.7 MB, free: 13.31 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.005279, allocations: 27.88 kB / 224.7 MB, free: 13.28 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.005308, allocations: 23.94 kB / 224.8 MB, free: 13.26 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.00551, allocations: 187.3 kB / 225 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.00552, allocations: 0 / 225 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005521, allocations: 0 / 225 MB, free: 13.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.00553, allocations: 0 / 225 MB, free: 13.07 MB / 234.7 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.0004376/0.005967, allocations: 383.7 kB / 225.3 MB, free: 12.67 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.005994, allocations: 8.031 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.006212, allocations: 125.9 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.006326, allocations: 146.3 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006342, allocations: 4.375 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.006359, allocations: 8.375 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.006482, allocations: 86.61 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00649, allocations: 192 / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006501, allocations: 4.375 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.006524, allocations: 16.36 kB / 225.7 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.006562, allocations: 21.58 kB / 225.7 MB, free: 12.2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.006854, allocations: 214.7 kB / 225.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.006938, allocations: 105.1 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.00696, allocations: 21.72 kB / 226.1 MB, free: 11.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.006965, allocations: 0 / 226.1 MB, free: 11.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.007072, allocations: 107.8 kB / 226.2 MB, free: 11.7 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 9.12e-07/0.007073, allocations: 4 kB / 226.2 MB, free: 11.69 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001349/0.007207, allocations: 107.2 kB / 226.3 MB, free: 11.58 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.007251, allocations: 89.09 kB / 226.4 MB, free: 11.47 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.007345, allocations: 170.5 kB / 226.5 MB, free: 11.29 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.007372, allocations: 49.69 kB / 226.6 MB, free: 11.24 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.007421, allocations: 96.59 kB / 226.7 MB, free: 11.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.007455, allocations: 47.61 kB / 226.7 MB, free: 11.09 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.007511, allocations: 57.89 kB / 226.8 MB, free: 11.03 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.007602, allocations: 330.8 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.007642, allocations: 31.33 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.007694, allocations: 59.5 kB / 227.2 MB, free: 10.6 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.00779, allocations: 112.6 kB / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007793, allocations: 0 / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001419/0.007935, allocations: 140.3 kB / 227.4 MB, free: 10.33 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.007946, allocations: 8 kB / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00795, allocations: 0 / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007964, allocations: 3.938 kB / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.008077, allocations: 47.97 kB / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.008081, allocations: 64 / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.008113, allocations: 27.83 kB / 227.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.008124, allocations: 11.94 kB / 227.5 MB, free: 10.23 MB / 234.7 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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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 7.948e-05/0.008204, allocations: 132.8 kB / 227.7 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.008218, allocations: 15.97 kB / 227.7 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.008239, allocations: 9.469 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.008243, allocations: 7.938 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008245, allocations: 0 / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008248, allocations: 0 / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.008332, allocations: 101.8 kB / 227.8 MB, free: 9.949 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.008334, allocations: 0 / 227.8 MB, free: 9.949 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.00835, allocations: 15.92 kB / 227.8 MB, free: 9.934 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.008364, allocations: 15.84 kB / 227.8 MB, free: 9.918 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008366, allocations: 0 / 227.8 MB, free: 9.918 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.008372, allocations: 4 kB / 227.8 MB, free: 9.914 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008374, allocations: 0 / 227.8 MB, free: 9.914 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008375, allocations: 3.938 kB / 227.8 MB, free: 9.91 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.008471, allocations: 120.4 kB / 228 MB, free: 9.77 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008488, allocations: 8 kB / 228 MB, free: 9.762 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.008508, allocations: 7.984 kB / 228 MB, free: 9.754 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.008541, allocations: 19.86 kB / 228 MB, free: 9.734 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.008546, allocations: 4 kB / 228 MB, free: 9.73 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.008579, allocations: 45.81 kB / 228 MB, free: 9.684 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008579, allocations: 0 / 228 MB, free: 9.684 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.00873, allocations: 55.92 kB / 228.1 MB, free: 9.629 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004221/0.009152, allocations: 271.5 kB / 228.4 MB, free: 9.395 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.009285, allocations: 92.73 kB / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.009289, allocations: 0 / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.00933, allocations: 40.95 kB / 228.5 MB, free: 9.258 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.009431, allocations: 23.98 kB / 228.5 MB, free: 9.234 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.009815, allocations: 252.9 kB / 228.8 MB, free: 8.957 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.009857, allocations: 71.33 kB / 228.8 MB, free: 8.867 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.009899, allocations: 12.97 kB / 228.8 MB, free: 8.848 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.009966, allocations: 67.36 kB / 228.9 MB, free: 8.781 MB / 234.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009967, allocations: 0 / 228.9 MB, free: 8.781 MB / 234.7 MB Notification: Performance of Templates: time 0.004247/0.01421, allocations: 2.599 MB / 231.5 MB, free: 6.18 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5181507281959057]