Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 72.06 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2615, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002402/0.2639, allocations: 0.9064 MB / 433 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.2646, allocations: 247.1 kB / 433.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.2647, allocations: 4 kB / 433.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.2647, allocations: 11.86 kB / 433.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.2649, allocations: 3.938 kB / 433.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.2653, allocations: 99.77 kB / 433.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2655, allocations: 47.8 kB / 433.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.2656, allocations: 15.98 kB / 433.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.226e-05/0.2656, allocations: 19.91 kB / 433.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.2657, allocations: 27.86 kB / 433.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2657, allocations: 4 kB / 433.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2658, allocations: 35.97 kB / 433.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.2659, allocations: 19.92 kB / 433.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.2659, allocations: 31.8 kB / 433.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2661, allocations: 105.1 kB / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2661, allocations: 0 / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2661, allocations: 0 / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2661, allocations: 0 / 433.6 MB, free: 5.824 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005894/0.2667, allocations: 387 kB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2668, allocations: 12.03 kB / 434 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2668, allocations: 8.891 kB / 434 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.2671, allocations: 204.1 kB / 434.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2671, allocations: 384 / 434.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2671, allocations: 12.31 kB / 434.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.2674, allocations: 145.5 kB / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2674, allocations: 4.188 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2675, allocations: 7.938 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2675, allocations: 0 / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.2675, allocations: 19.98 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.2679, allocations: 281.7 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.2679, allocations: 38.5 kB / 434.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.268, allocations: 32.89 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.2687, allocations: 0.5739 MB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2687, allocations: 30.56 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2687, allocations: 0 / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000224/0.269, allocations: 93.56 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.269, allocations: 59.41 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2692, allocations: 149.8 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2692, allocations: 25.7 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.2693, allocations: 88.14 kB / 435.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2693, allocations: 15.88 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.2693, allocations: 21.72 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2695, allocations: 326.8 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.2695, allocations: 19.98 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.2696, allocations: 65.94 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2697, allocations: 77.94 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2697, allocations: 0 / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001593/0.2699, allocations: 113.5 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2699, allocations: 16.2 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2699, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.2699, allocations: 4 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.27, allocations: 12 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.27, allocations: 4 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.27, allocations: 12.14 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.27, allocations: 4 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 10 * 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 0.0001116/0.2702, allocations: 133.6 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2703, allocations: 73.64 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2704, allocations: 94.61 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2704, allocations: 0 / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2704, allocations: 3.984 kB / 436.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2704, allocations: 0 / 436.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.2706, allocations: 181.5 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2706, allocations: 0 / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.2706, allocations: 11.92 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2706, allocations: 4 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2706, allocations: 0 / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2706, allocations: 0 / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2706, allocations: 4 kB / 436.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2708, allocations: 97.02 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.2709, allocations: 101 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2709, allocations: 0 / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.2709, allocations: 0 / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.2709, allocations: 3.938 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2709, allocations: 12 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.271, allocations: 117.2 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.271, allocations: 4 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000214/0.2712, allocations: 20 kB / 437.3 MB, free: 1.645 MB / 334.1 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.0001751/0.2714, allocations: 107.2 kB / 437.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2715, allocations: 47.91 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2715, allocations: 0 / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2715, allocations: 0 / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.2719, allocations: 93.27 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.2723, allocations: 211 kB / 437.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.2727, allocations: 0.7041 MB / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.2727, allocations: 11.44 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2727, allocations: 0 / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of Templates: time 0.003154/0.2758, allocations: 1.288 MB / 439.7 MB, free: 15.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.984770747832954]