Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008996/0.0008996, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002145, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006966/0.0006966, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001793, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.213e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001614/0.001636, allocations: 0.9659 MB / 245.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.002022, allocations: 259.6 kB / 245.9 MB, free: 13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.002107, allocations: 4 kB / 245.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.00215, allocations: 11.88 kB / 245.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.002247, allocations: 7.984 kB / 246 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.00253, allocations: 99.58 kB / 246.1 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.002655, allocations: 43.86 kB / 246.1 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.002755, allocations: 19.91 kB / 246.1 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.002838, allocations: 23.98 kB / 246.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.002915, allocations: 11.92 kB / 246.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.002936, allocations: 4 kB / 246.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.003042, allocations: 51.94 kB / 246.2 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.003102, allocations: 23.94 kB / 246.2 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.003131, allocations: 15.94 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.00328, allocations: 75.61 kB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.003289, allocations: 0 / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00329, allocations: 0 / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.003301, allocations: 0 / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004851/0.003786, allocations: 292.3 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.003824, allocations: 15.97 kB / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.003859, allocations: 8.938 kB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.004024, allocations: 152.3 kB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.004034, allocations: 4.375 kB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.004048, allocations: 4.375 kB / 246.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.004235, allocations: 115.2 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.004244, allocations: 192 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004252, allocations: 384 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.004262, allocations: 8.312 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.004284, allocations: 18.77 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.004448, allocations: 148 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.004512, allocations: 34.53 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.00453, allocations: 16.89 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.004762, allocations: 43.95 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.004782, allocations: 38.56 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.004783, allocations: 0 / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001211/0.004904, allocations: 57.62 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.004948, allocations: 67.27 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/0.005031, allocations: 142.7 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005041, allocations: 25.7 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.005072, allocations: 92.08 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.005082, allocations: 3.953 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.005109, allocations: 25.69 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.005183, allocations: 310.8 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.005194, allocations: 10.83 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.005216, allocations: 34.55 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.00525, allocations: 37.83 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005253, allocations: 0 / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.659e-05/0.005309, allocations: 62.11 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005322, allocations: 11.98 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005327, allocations: 240 / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.005341, allocations: 4.031 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.005399, allocations: 16 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.005405, allocations: 3.984 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.005426, allocations: 0 / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.005435, allocations: 4 kB / 248.1 MB, free: 10.64 MB / 250.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: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * 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 9.222e-05/0.005527, allocations: 113.5 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.005592, allocations: 61.59 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.005705, allocations: 58.41 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.00571, allocations: 3.938 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005712, allocations: 0 / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.005716, allocations: 4 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.843e-05/0.005785, allocations: 77.83 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.005793, allocations: 4 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.005826, allocations: 7.984 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.005854, allocations: 15.94 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.005857, allocations: 7.938 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.005864, allocations: 3.984 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.005867, allocations: 3.938 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005868, allocations: 0 / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.054e-05/0.005908, allocations: 51.97 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.005929, allocations: 7.984 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.00594, allocations: 8.125 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.005943, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.005954, allocations: 7.938 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.00598, allocations: 27.59 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00598, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000113/0.006093, allocations: 12 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.000133/0.006226, allocations: 100.4 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.006311, allocations: 28.72 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.006317, allocations: 4.281 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.006317, allocations: 4 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.0066, allocations: 207.8 kB / 248.9 MB, free: 9.723 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.00686, allocations: 213 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.006898, allocations: 67.33 kB / 249.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.006914, allocations: 4 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.006969, allocations: 63.36 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of SimCode: time 3.61e-07/0.00697, allocations: 0 / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of Templates: time 0.003258/0.01023, allocations: 1.511 MB / 250.7 MB, free: 7.848 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.6235704105347395]