Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0012/0.0012, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002778, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009984/0.0009984, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002509, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9778/0.9778, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/1.089, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/2.059e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001542/0.001563, allocations: 0.9618 MB / 246.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00035/0.001913, allocations: 255.7 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.001985, allocations: 0 / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.002021, allocations: 7.938 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.002102, allocations: 15.86 kB / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.00236, allocations: 95.59 kB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.002476, allocations: 47.86 kB / 246.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.36e-05/0.00255, allocations: 11.97 kB / 246.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.002616, allocations: 31.92 kB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.002683, allocations: 15.92 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.002702, allocations: 4 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.002798, allocations: 47.94 kB / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.002848, allocations: 19.94 kB / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.00287, allocations: 15.94 kB / 246.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.003005, allocations: 79.61 kB / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.003013, allocations: 0 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003014, allocations: 0 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.003023, allocations: 0 / 246.8 MB, free: 11.94 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.0004271/0.00345, allocations: 292.3 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.003488, allocations: 12.03 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.003519, allocations: 4.938 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.003756, allocations: 153.5 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.003763, allocations: 384 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.003773, allocations: 8.312 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.003936, allocations: 127.2 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003942, allocations: 192 / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.003949, allocations: 384 / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003956, allocations: 4.375 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.003973, allocations: 18.7 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.004114, allocations: 152 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.004171, allocations: 34.53 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.004185, allocations: 12.89 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.004393, allocations: 47.95 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.004411, allocations: 34.56 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.004412, allocations: 0 / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001036/0.004515, allocations: 57.62 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.00455, allocations: 59.39 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.004624, allocations: 145.8 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.004634, allocations: 25.7 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.004664, allocations: 92.02 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.004674, allocations: 11.89 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.004699, allocations: 25.69 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.004766, allocations: 314.8 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.004777, allocations: 10.83 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.004795, allocations: 30.56 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.004826, allocations: 37.89 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004828, allocations: 3.938 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.078e-05/0.004879, allocations: 58.11 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.004892, allocations: 11.98 kB / 248.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.004896, allocations: 0 / 248.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.004908, allocations: 3.938 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.004951, allocations: 16.09 kB / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004954, allocations: 0 / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.004969, allocations: 0 / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.004975, allocations: 8 kB / 248.6 MB, free: 9.961 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 6.975e-05/0.005045, allocations: 116.6 kB / 248.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.005079, allocations: 53.61 kB / 248.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.005163, allocations: 58.45 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.005166, allocations: 3.938 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005168, allocations: 0 / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005172, allocations: 4 kB / 248.8 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.227e-05/0.005224, allocations: 85.77 kB / 248.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.005229, allocations: 4 kB / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.00526, allocations: 7.984 kB / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.005284, allocations: 11.95 kB / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005285, allocations: 0 / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.005291, allocations: 3.984 kB / 248.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005292, allocations: 3.938 kB / 248.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005293, allocations: 0 / 248.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.742e-05/0.00533, allocations: 63.91 kB / 249 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.005345, allocations: 3.984 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.005355, allocations: 4.141 kB / 249 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.005359, allocations: 4.109 kB / 249 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.005368, allocations: 11.94 kB / 249 MB, free: 9.469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.00539, allocations: 24.83 kB / 249 MB, free: 9.441 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00539, allocations: 0 / 249 MB, free: 9.441 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001111/0.005501, allocations: 20 kB / 249.1 MB, free: 9.422 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 9.994e-05/0.005601, allocations: 88.34 kB / 249.1 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.005664, allocations: 28.78 kB / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.005667, allocations: 288 / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.005668, allocations: 11.94 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.005892, allocations: 203.9 kB / 249.4 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.006104, allocations: 217 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.006139, allocations: 71.33 kB / 249.7 MB, free: 8.711 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.006153, allocations: 4 kB / 249.7 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.00621, allocations: 63.34 kB / 249.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00621, allocations: 4 kB / 249.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of Templates: time 0.002912/0.009123, allocations: 1.515 MB / 251.3 MB, free: 7.152 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4945496125146747]