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.001046/0.001046, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009771/0.0009771, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9435/0.9435, allocations: 173.4 MB / 201.1 MB, free: 9.328 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 2.344e-06/2.344e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.639e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001629/0.001656, allocations: 0.9052 MB / 268.9 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005073/0.002163, allocations: 255 kB / 269.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.002254, allocations: 3.938 kB / 269.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.002301, allocations: 3.938 kB / 269.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.002467, allocations: 15.86 kB / 269.2 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.002817, allocations: 99.69 kB / 269.3 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.002923, allocations: 43.86 kB / 269.3 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.003015, allocations: 15.92 kB / 269.3 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.003063, allocations: 31.91 kB / 269.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.003129, allocations: 7.984 kB / 269.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003148, allocations: 4 kB / 269.4 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.003229, allocations: 43.95 kB / 269.4 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.003294, allocations: 27.91 kB / 269.5 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.003324, allocations: 15.94 kB / 269.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.003486, allocations: 79.66 kB / 269.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003488, allocations: 0 / 269.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003489, allocations: 0 / 269.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.003493, allocations: 0 / 269.5 MB, free: 4.867 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.0004698/0.003963, allocations: 424.2 kB / 270 MB, free: 4.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.004002, allocations: 8.031 kB / 270 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.00405, allocations: 16.84 kB / 270 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.004231, allocations: 144.4 kB / 270.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.00424, allocations: 384 / 270.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004254, allocations: 4.375 kB / 270.1 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.004493, allocations: 128.9 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.004503, allocations: 4.188 kB / 270.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.004516, allocations: 4.375 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.00453, allocations: 4.375 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.004565, allocations: 15.86 kB / 270.3 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.004823, allocations: 267.5 kB / 270.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.004901, allocations: 39 kB / 270.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.004929, allocations: 23.72 kB / 270.6 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.005183, allocations: 55.94 kB / 270.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.005203, allocations: 41.33 kB / 270.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005204, allocations: 0 / 270.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001704/0.005374, allocations: 73.64 kB / 270.8 MB, free: 3.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.005423, allocations: 63.3 kB / 270.8 MB, free: 3.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.005546, allocations: 193.9 kB / 271 MB, free: 3.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.005557, allocations: 25.7 kB / 271.1 MB, free: 3.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.005615, allocations: 142.9 kB / 271.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.005628, allocations: 3.953 kB / 271.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.005662, allocations: 27.38 kB / 271.2 MB, free: 2.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.005796, allocations: 0.4884 MB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.005808, allocations: 4 kB / 271.7 MB, free: 2.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.005837, allocations: 39.05 kB / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.005876, allocations: 39 kB / 271.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.005879, allocations: 0 / 271.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002874/0.006167, allocations: 69.58 kB / 271.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006182, allocations: 10.91 kB / 271.9 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006187, allocations: 0 / 271.9 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006202, allocations: 4.125 kB / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.00626, allocations: 12 kB / 271.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.006267, allocations: 0 / 271.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.006282, allocations: 0 / 271.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006288, allocations: 4 kB / 271.9 MB, free: 2.277 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 7.822e-05/0.006367, allocations: 164.6 kB / 272.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.00642, allocations: 73.55 kB / 272.1 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006535, allocations: 70.42 kB / 272.2 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006538, allocations: 4.125 kB / 272.2 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.006542, allocations: 0 / 272.2 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.006546, allocations: 3.984 kB / 272.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.00661, allocations: 128.6 kB / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.006613, allocations: 0 / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.006637, allocations: 4 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.006638, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.006646, allocations: 7.922 kB / 272.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006648, allocations: 7.938 kB / 272.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006648, allocations: 4 kB / 272.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.299e-05/0.006721, allocations: 96.62 kB / 272.4 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.006748, allocations: 15.88 kB / 272.5 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.006769, allocations: 11.94 kB / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.006779, allocations: 0 / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.006782, allocations: 0 / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.006791, allocations: 4 kB / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.006839, allocations: 146.2 kB / 272.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006839, allocations: 0 / 272.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.006969, allocations: 20 kB / 272.6 MB, free: 1.449 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.0001151/0.007085, allocations: 115.2 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.007166, allocations: 35.61 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007168, allocations: 0 / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-07/0.007168, allocations: 0 / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.007429, allocations: 72.39 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.00767, allocations: 179.9 kB / 273 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.007713, allocations: 71.33 kB / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.007728, allocations: 192 / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.007749, allocations: 16.5 kB / 273.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.00775, allocations: 0 / 273.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of Templates: time 0.002992/0.01074, allocations: 1.421 MB / 274.5 MB, free: 15.49 MB / 266.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.639618441928178]