Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.833e-05, allocations: 6.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002457/0.002486, allocations: 0.8951 MB / 273.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.003161, allocations: 239 kB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.003235, allocations: 3.938 kB / 273.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.00329, allocations: 3.938 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.003443, allocations: 15.92 kB / 273.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.004135, allocations: 99.69 kB / 273.6 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.00427, allocations: 47.84 kB / 273.6 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.004365, allocations: 15.98 kB / 273.6 MB, free: 492 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.004427, allocations: 19.92 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.004501, allocations: 15.92 kB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004524, allocations: 4 kB / 273.7 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.004648, allocations: 51.81 kB / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.004715, allocations: 23.92 kB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.004756, allocations: 15.94 kB / 273.8 MB, free: 360 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004966, allocations: 95.72 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00497, allocations: 0 / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004971, allocations: 4 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004975, allocations: 0 / 273.9 MB, free: 260 kB / 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.0006025/0.005578, allocations: 317.9 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.005616, allocations: 12.03 kB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.00567, allocations: 8.891 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.005965, allocations: 145.5 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.005976, allocations: 384 / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.005989, allocations: 8.375 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.006329, allocations: 153.5 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006337, allocations: 192 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006348, allocations: 4.312 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006354, allocations: 384 / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.006414, allocations: 23.92 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.006743, allocations: 213.4 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.006842, allocations: 34.56 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.00689, allocations: 24.89 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.007315, allocations: 59.94 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.007358, allocations: 38.5 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.007359, allocations: 0 / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000271/0.00763, allocations: 93.52 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.007695, allocations: 55.41 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.00787, allocations: 145.2 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.007896, allocations: 33.7 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.007973, allocations: 88.14 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.007988, allocations: 3.953 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.008045, allocations: 21.72 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.008233, allocations: 318.8 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.00827, allocations: 15.98 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.008318, allocations: 34.56 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.008403, allocations: 46.5 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008405, allocations: 4 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001442/0.008549, allocations: 85.56 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.008566, allocations: 7.938 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.008577, allocations: 4 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008591, allocations: 3.938 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.008667, allocations: 12.12 kB / 275.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.008678, allocations: 7.938 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.008707, allocations: 4 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008713, allocations: 0 / 275.9 MB, free: 14.06 MB / 266.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.0001324/0.008845, allocations: 129.9 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.008969, allocations: 73.53 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.00916, allocations: 90.48 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.009166, allocations: 4.031 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.00917, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.009178, allocations: 3.984 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.009307, allocations: 109.3 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.009313, allocations: 4 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.009354, allocations: 4 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009356, allocations: 0 / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.009369, allocations: 11.94 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.009373, allocations: 3.984 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009375, allocations: 0 / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.009536, allocations: 97.14 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.009593, allocations: 19.94 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.009619, allocations: 7.875 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/0.009647, allocations: 4 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.009651, allocations: 7.938 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.009663, allocations: 0 / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.00977, allocations: 111.2 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00977, allocations: 0 / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.009995, allocations: 19.94 kB / 276.5 MB, free: 13.3 MB / 266.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.0002323/0.01023, allocations: 111.2 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.01036, allocations: 35.98 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01036, allocations: 0 / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.01037, allocations: 3.938 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.01082, allocations: 84.39 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.01129, allocations: 190.3 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.0114, allocations: 91.5 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.01142, allocations: 7.984 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01146, allocations: 12.5 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01146, allocations: 0 / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.004971/0.01643, allocations: 1.416 MB / 278.5 MB, free: 11.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.35904605302494]