Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.076/1.076, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.51e-05, allocations: 2.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.004948/0.004973, allocations: 0.9119 MB / 274.2 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004461/0.005419, allocations: 247 kB / 274.5 MB, free: 56 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.005469, allocations: 0 / 274.5 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.005494, allocations: 7.922 kB / 274.5 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.00559, allocations: 15.88 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.00595, allocations: 99.7 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.00603, allocations: 51.78 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.006097, allocations: 15.92 kB / 274.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.006144, allocations: 23.91 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.006202, allocations: 11.98 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.006217, allocations: 4 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.006299, allocations: 35.97 kB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.006339, allocations: 31.91 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.006359, allocations: 19.92 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.006486, allocations: 71.73 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006489, allocations: 3.984 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006489, allocations: 0 / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.006493, allocations: 0 / 274.9 MB, free: 15.67 MB / 266.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.0003892/0.006882, allocations: 424.1 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.006918, allocations: 11.98 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.006949, allocations: 12.89 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.007082, allocations: 147.9 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.007091, allocations: 4.375 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.0071, allocations: 8.375 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.01028, allocations: 124.8 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.01029, allocations: 4.172 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.0103, allocations: 384 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.0103, allocations: 384 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.01032, allocations: 11.94 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.01052, allocations: 260 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.01058, allocations: 35.06 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.0106, allocations: 19.72 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.01084, allocations: 47.95 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.01086, allocations: 37.39 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.01086, allocations: 3.938 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001065/0.01096, allocations: 69.52 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.011, allocations: 55.41 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.0111, allocations: 197.9 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.01111, allocations: 29.7 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.01115, allocations: 130.9 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.01116, allocations: 7.953 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.0112, allocations: 35.3 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.01149, allocations: 496.1 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.0115, allocations: 0 / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.01153, allocations: 43.03 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.01156, allocations: 39 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01156, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.642e-05/0.01164, allocations: 57.62 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.01165, allocations: 11.12 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01165, allocations: 3.938 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-06/0.01166, allocations: 96 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.875e-05/0.0117, allocations: 15.94 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.0117, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.01172, allocations: 8.078 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.01173, allocations: 4 kB / 277.2 MB, free: 13.12 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 8.308e-05/0.01181, allocations: 172.5 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.01186, allocations: 53.88 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/0.01196, allocations: 74.31 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01196, allocations: 4 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01196, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01196, allocations: 7.984 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.01204, allocations: 109.2 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01204, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.01206, allocations: 4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.01207, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.01207, allocations: 4 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01207, allocations: 0 / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.01207, allocations: 3.938 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.267e-05/0.01212, allocations: 68.34 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.01215, allocations: 23.88 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.01216, allocations: 3.984 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.01218, allocations: 8 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-06/0.01218, allocations: 3.938 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01218, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.01224, allocations: 146.3 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01224, allocations: 0 / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.01243, allocations: 16 kB / 277.9 MB, free: 12.36 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.0001152/0.01254, allocations: 119.3 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.01261, allocations: 27.61 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01262, allocations: 192 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.01262, allocations: 4 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.01289, allocations: 80.33 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.01614, allocations: 180 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.01617, allocations: 63.34 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.051e-05/0.01619, allocations: 7.984 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.01626, allocations: 78.2 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01626, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Templates: time 0.002731/0.01899, allocations: 1.49 MB / 279.9 MB, free: 10.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.815690586809069]