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.00154/0.00154, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.001435/0.001435, allocations: 169.7 kB / 24.82 MB, free: 8.703 MB / 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.114e-06/2.114e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.98e-05, allocations: 6.25 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001965/0.001995, allocations: 0.9066 MB / 274.3 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005468/0.002542, allocations: 251 kB / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.002639, allocations: 0 / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.437e-05/0.002693, allocations: 7.875 kB / 274.6 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.002865, allocations: 19.91 kB / 274.6 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.00331, allocations: 99.66 kB / 274.7 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003465, allocations: 51.89 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.00356, allocations: 11.88 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.00362, allocations: 23.98 kB / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.003695, allocations: 19.89 kB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003715, allocations: 4 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.003989, allocations: 39.97 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.004048, allocations: 19.92 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.004077, allocations: 19.92 kB / 274.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004237, allocations: 79.66 kB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004239, allocations: 0 / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00424, allocations: 0 / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004245, allocations: 0 / 274.9 MB, free: 15.78 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.0004486/0.004693, allocations: 424.2 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.004735, allocations: 8.031 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.004773, allocations: 12.89 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.00493, allocations: 147.6 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004941, allocations: 8.375 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.004952, allocations: 4.375 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.005141, allocations: 128.8 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.00515, allocations: 192 / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.005159, allocations: 4.375 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005165, allocations: 384 / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.005187, allocations: 19.86 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.005427, allocations: 244.1 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.005505, allocations: 35.05 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.005529, allocations: 23.73 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.005802, allocations: 59.92 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.005825, allocations: 33.39 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.005826, allocations: 0 / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001558/0.005982, allocations: 65.58 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.006044, allocations: 55.41 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.006168, allocations: 189.9 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006179, allocations: 25.7 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.006247, allocations: 146.8 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.006264, allocations: 11.89 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.006306, allocations: 27.33 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.006466, allocations: 0.4923 MB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.006474, allocations: 3.938 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.006503, allocations: 35.06 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.896e-05/0.006552, allocations: 39.03 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006554, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.403e-05/0.006638, allocations: 61.58 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.006653, allocations: 11.98 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.006662, allocations: 3.938 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006674, allocations: 0 / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.006726, allocations: 8 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.006729, allocations: 0 / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.006751, allocations: 11.95 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.006756, allocations: 0 / 277.2 MB, free: 13.23 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.991e-05/0.006846, allocations: 161.5 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.006906, allocations: 61.58 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.00703, allocations: 70.39 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.007034, allocations: 4 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007037, allocations: 0 / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007042, allocations: 0 / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.428e-05/0.007136, allocations: 109.2 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.007142, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.007184, allocations: 8.125 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.007187, allocations: 3.984 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007193, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.007197, allocations: 4 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.0072, allocations: 7.938 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.007261, allocations: 68.34 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.007303, allocations: 27.88 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.007328, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.007342, allocations: 4 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-06/0.007346, allocations: 7.938 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.007357, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.007424, allocations: 150.1 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007424, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.007581, allocations: 20 kB / 277.9 MB, free: 12.47 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.0001656/0.007747, allocations: 111.2 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.007844, allocations: 31.59 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.007846, allocations: 0 / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.007848, allocations: 4 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.008154, allocations: 68.45 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.008415, allocations: 176.2 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.008454, allocations: 63.34 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.153e-05/0.008476, allocations: 12.17 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.008546, allocations: 82.19 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008547, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Templates: time 0.003603/0.01215, allocations: 1.495 MB / 280 MB, free: 10.39 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","",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.697787377052009]