Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 142.8 kB / 25.59 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9332/0.9332, allocations: 173.4 MB / 202.2 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.378e-05, allocations: 7 kB / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001635/0.001659, allocations: 0.9081 MB / 270.1 MB, free: 8.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.002161, allocations: 243.7 kB / 270.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.00224, allocations: 9.375 kB / 270.4 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.002287, allocations: 7.922 kB / 270.4 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.002434, allocations: 15.88 kB / 270.4 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.00284, allocations: 100.7 kB / 270.5 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.002963, allocations: 48.58 kB / 270.5 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.003038, allocations: 11.94 kB / 270.5 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.003086, allocations: 28.59 kB / 270.6 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.003144, allocations: 12.7 kB / 270.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003159, allocations: 4 kB / 270.6 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.00324, allocations: 46.92 kB / 270.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.00329, allocations: 19.92 kB / 270.7 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.003315, allocations: 15.94 kB / 270.7 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.003463, allocations: 83.64 kB / 270.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003466, allocations: 0 / 270.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003467, allocations: 0 / 270.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003471, allocations: 0 / 270.8 MB, free: 8.227 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.0004152/0.003886, allocations: 408.3 kB / 271.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.003918, allocations: 13 kB / 271.2 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.003951, allocations: 16.78 kB / 271.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.004107, allocations: 152.4 kB / 271.3 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.004117, allocations: 4.312 kB / 271.3 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.004126, allocations: 8.375 kB / 271.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.004296, allocations: 116.9 kB / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004304, allocations: 4.188 kB / 271.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004312, allocations: 384 / 271.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004318, allocations: 384 / 271.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.004339, allocations: 19.86 kB / 271.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.004539, allocations: 244.1 kB / 271.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.004612, allocations: 43 kB / 271.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.004631, allocations: 15.72 kB / 271.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.004874, allocations: 51.95 kB / 271.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.004896, allocations: 37.39 kB / 271.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.004898, allocations: 0 / 271.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001407/0.005038, allocations: 69.64 kB / 271.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.005086, allocations: 63.3 kB / 272 MB, free: 6.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.0052, allocations: 196.4 kB / 272.2 MB, free: 6.617 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.005214, allocations: 25.7 kB / 272.2 MB, free: 6.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.005273, allocations: 142.8 kB / 272.4 MB, free: 6.441 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.005284, allocations: 3.953 kB / 272.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.005314, allocations: 23.38 kB / 272.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.005432, allocations: 0.4923 MB / 272.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.005443, allocations: 8 kB / 272.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.005471, allocations: 31.05 kB / 272.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.005508, allocations: 39 kB / 272.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00551, allocations: 0 / 272.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.345e-05/0.005583, allocations: 65.58 kB / 273 MB, free: 5.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005596, allocations: 4 kB / 273 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.005609, allocations: 4.031 kB / 273 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.005622, allocations: 8 kB / 273 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.005668, allocations: 8 kB / 273 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.00567, allocations: 0 / 273 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.005687, allocations: 0 / 273 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.005694, allocations: 4 kB / 273 MB, free: 5.703 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.128e-05/0.005785, allocations: 168.5 kB / 273.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.005841, allocations: 57.59 kB / 273.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.005939, allocations: 74.56 kB / 273.3 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005941, allocations: 3.938 kB / 273.3 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.005943, allocations: 4 kB / 273.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005947, allocations: 128 / 273.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.006019, allocations: 113.2 kB / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.006023, allocations: 0 / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.006052, allocations: 12.12 kB / 273.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006054, allocations: 0 / 273.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.006059, allocations: 3.984 kB / 273.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006061, allocations: 0 / 273.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.006065, allocations: 7.875 kB / 273.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.883e-05/0.006113, allocations: 68.41 kB / 273.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.006144, allocations: 19.88 kB / 273.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.006161, allocations: 11.98 kB / 273.6 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.155e-05/0.006173, allocations: 0 / 273.6 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-06/0.006177, allocations: 3.938 kB / 273.6 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.006185, allocations: 0 / 273.6 MB, free: 5.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.006233, allocations: 151.2 kB / 273.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006233, allocations: 0 / 273.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000145/0.006378, allocations: 12 kB / 273.7 MB, free: 4.93 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.0001218/0.0065, allocations: 118.4 kB / 273.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.006585, allocations: 31.73 kB / 273.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006587, allocations: 4.062 kB / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.006587, allocations: 0 / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.00683, allocations: 71.55 kB / 274 MB, free: 4.695 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.00705, allocations: 175.9 kB / 274.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.007085, allocations: 71.28 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.0071, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.007157, allocations: 82.19 kB / 274.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.007158, allocations: 3.938 kB / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Templates: time 0.003125/0.01028, allocations: 1.521 MB / 275.8 MB, free: 2.812 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7508131600916386]