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.002394/0.002394, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.00269/0.00269, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.61/1.61, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] 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.392e-06/1.392e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.865e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002364/0.002393, allocations: 0.8975 MB / 268.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.003074, allocations: 243 kB / 268.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.003147, allocations: 7.938 kB / 268.5 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.0032, allocations: 7.922 kB / 268.5 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.003338, allocations: 11.88 kB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.003783, allocations: 99.64 kB / 268.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003915, allocations: 51.83 kB / 268.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.004002, allocations: 11.95 kB / 268.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.004067, allocations: 27.91 kB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.004138, allocations: 15.97 kB / 268.7 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.004161, allocations: 4 kB / 268.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.004273, allocations: 43.91 kB / 268.8 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.00434, allocations: 19.92 kB / 268.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.004373, allocations: 11.94 kB / 268.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.00459, allocations: 103.6 kB / 268.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.004595, allocations: 3.984 kB / 268.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004596, allocations: 4 kB / 268.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.004602, allocations: 0 / 268.9 MB, free: 5.18 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.0006255/0.005227, allocations: 416 kB / 269.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.005266, allocations: 8.031 kB / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.005324, allocations: 16.78 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.00558, allocations: 148.4 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005594, allocations: 4.375 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.005606, allocations: 4.375 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.005925, allocations: 148.9 kB / 269.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005935, allocations: 192 / 269.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005946, allocations: 8.312 kB / 269.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005954, allocations: 4.375 kB / 269.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.006001, allocations: 15.94 kB / 269.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.006342, allocations: 267.5 kB / 269.9 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.006465, allocations: 50.98 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.006521, allocations: 19.69 kB / 270 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.006949, allocations: 59.98 kB / 270 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.006995, allocations: 41.31 kB / 270.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.006997, allocations: 0 / 270.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002354/0.007232, allocations: 73.64 kB / 270.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.007302, allocations: 67.23 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.007511, allocations: 205.2 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.007534, allocations: 29.7 kB / 270.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.007629, allocations: 138.7 kB / 270.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.00765, allocations: 15.94 kB / 270.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.007697, allocations: 23.38 kB / 270.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.007977, allocations: 0.4923 MB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.008, allocations: 8 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.008045, allocations: 31.06 kB / 271.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.008108, allocations: 39 kB / 271.2 MB, free: 2.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.008112, allocations: 7.984 kB / 271.2 MB, free: 2.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001117/0.008223, allocations: 65.59 kB / 271.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008238, allocations: 7.938 kB / 271.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008242, allocations: 0 / 271.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.008259, allocations: 4 kB / 271.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.008325, allocations: 11.98 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00833, allocations: 0 / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.008351, allocations: 0 / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.00836, allocations: 4 kB / 271.3 MB, free: 2.535 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 0.0001492/0.008509, allocations: 172.7 kB / 271.5 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.00862, allocations: 69.52 kB / 271.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.008809, allocations: 74.52 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.008811, allocations: 3.938 kB / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.008814, allocations: 0 / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008817, allocations: 0 / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.008961, allocations: 144.7 kB / 271.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.008968, allocations: 4 kB / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.009003, allocations: 4 kB / 271.7 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.009004, allocations: 3.938 kB / 271.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.009015, allocations: 7.938 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.009016, allocations: 0 / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.009019, allocations: 4 kB / 271.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.009171, allocations: 96.62 kB / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.009223, allocations: 19.94 kB / 271.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.00925, allocations: 11.92 kB / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.009272, allocations: 0 / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-06/0.009274, allocations: 0 / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.009283, allocations: 4 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.009436, allocations: 147.2 kB / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009436, allocations: 0 / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.009639, allocations: 19.94 kB / 272.1 MB, free: 1.68 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.0001754/0.009814, allocations: 111.2 kB / 272.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.009932, allocations: 39.61 kB / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009934, allocations: 0 / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.009935, allocations: 0 / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.01032, allocations: 76.44 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.01067, allocations: 183.9 kB / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.01076, allocations: 87.45 kB / 272.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.803e-05/0.01078, allocations: 7.938 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.01081, allocations: 12.5 kB / 272.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of SimCode: time 5e-07/0.01081, allocations: 0 / 272.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of Templates: time 0.004942/0.01576, allocations: 1.413 MB / 274 MB, free: 15.7 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.426207942073233]