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.001829/0.001829, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001981/0.001981, allocations: 165.3 kB / 24.28 MB, free: 148 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.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.613 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 2.294e-06/2.294e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.287e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.00409/0.004133, allocations: 0.9075 MB / 273.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.00521, allocations: 247 kB / 273.5 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.005306, allocations: 4 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.005386, allocations: 7.875 kB / 273.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.00558, allocations: 11.92 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.006274, allocations: 95.7 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.006477, allocations: 47.84 kB / 273.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.006596, allocations: 11.98 kB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.006695, allocations: 23.92 kB / 273.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.006792, allocations: 15.92 kB / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.006818, allocations: 0 / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.00699, allocations: 55.81 kB / 273.7 MB, free: 432 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.007082, allocations: 23.94 kB / 273.8 MB, free: 408 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.007139, allocations: 15.92 kB / 273.8 MB, free: 392 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.007455, allocations: 95.72 kB / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.00746, allocations: 0 / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.007462, allocations: 0 / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007467, allocations: 0 / 273.9 MB, free: 296 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.0008923/0.008359, allocations: 423.8 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.008408, allocations: 12.03 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.008483, allocations: 8.891 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.008851, allocations: 148.4 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.008869, allocations: 4.375 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.008888, allocations: 4.375 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.009378, allocations: 152.8 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00939, allocations: 192 / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.009411, allocations: 4.375 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.009419, allocations: 4.312 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.009496, allocations: 15.94 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.01002, allocations: 283.4 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.01021, allocations: 39.06 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.01031, allocations: 27.72 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/0.01107, allocations: 55.94 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.01112, allocations: 37.33 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.01112, allocations: 4 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003588/0.01148, allocations: 81.52 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.01158, allocations: 59.41 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.01189, allocations: 205 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.01193, allocations: 25.7 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01207, allocations: 138.9 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.01211, allocations: 11.95 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.01218, allocations: 23.38 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004203/0.0126, allocations: 0.4923 MB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.01264, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.01272, allocations: 43.05 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.01282, allocations: 39 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01282, allocations: 0 / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/0.01304, allocations: 69.58 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.01307, allocations: 7.938 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01308, allocations: 0 / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.0131, allocations: 0 / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.0132, allocations: 16.03 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.01321, allocations: 4 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.01325, allocations: 4.062 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.01327, allocations: 8 kB / 276.3 MB, free: 13.62 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.0002194/0.01349, allocations: 164.6 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.0137, allocations: 73.53 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.01399, allocations: 74.47 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01399, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.014, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.014, allocations: 3.984 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.01422, allocations: 136.6 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.01423, allocations: 4 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.01429, allocations: 4 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0143, allocations: 0 / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.01431, allocations: 3.938 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.01432, allocations: 3.984 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01432, allocations: 0 / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.01458, allocations: 100.4 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.01467, allocations: 15.94 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.01471, allocations: 7.938 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.01476, allocations: 7.938 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.01476, allocations: 4 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.01478, allocations: 7.938 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.01498, allocations: 151.2 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01498, allocations: 0 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.01537, allocations: 15.94 kB / 277 MB, free: 12.78 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.0002998/0.01567, allocations: 103.2 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.01588, allocations: 39.67 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01588, allocations: 0 / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.01588, allocations: 4.188 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.01655, allocations: 80.34 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.01712, allocations: 180 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.01727, allocations: 83.31 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.0173, allocations: 4.281 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.01734, allocations: 12.5 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01734, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Templates: time 0.008084/0.02543, allocations: 1.424 MB / 279 MB, free: 10.8 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] 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.540821311995387]