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.0009671/0.0009671, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001051/0.001051, allocations: 150.9 kB / 24.9 MB, free: 8.734 MB / 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 0.9515/0.9515, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.31e-05, allocations: 5.969 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001854/0.001877, allocations: 0.9641 MB / 269.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004676/0.002344, allocations: 250.9 kB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.002422, allocations: 7.938 kB / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.002464, allocations: 3.938 kB / 269.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.002605, allocations: 7.922 kB / 269.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.002952, allocations: 103.6 kB / 269.9 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.003059, allocations: 43.84 kB / 269.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.00313, allocations: 19.92 kB / 269.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.003178, allocations: 23.92 kB / 269.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.003237, allocations: 15.91 kB / 270 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003254, allocations: 4 kB / 270 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.003358, allocations: 47.95 kB / 270 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.003405, allocations: 19.92 kB / 270 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.003687, allocations: 15.94 kB / 270 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.00383, allocations: 75.77 kB / 270.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003832, allocations: 0 / 270.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003833, allocations: 0 / 270.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.003839, allocations: 4 kB / 270.1 MB, free: 4.379 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.0003344/0.004173, allocations: 288.5 kB / 270.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004208, allocations: 8.031 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.004241, allocations: 12.92 kB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.004409, allocations: 141.6 kB / 270.6 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.004416, allocations: 4.375 kB / 270.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004426, allocations: 4.375 kB / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.00462, allocations: 127.1 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004629, allocations: 4.125 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.004636, allocations: 384 / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004642, allocations: 384 / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.004663, allocations: 18.7 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.00485, allocations: 160 kB / 270.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.004921, allocations: 38.58 kB / 270.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.004936, allocations: 8.859 kB / 270.9 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.005191, allocations: 52 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005213, allocations: 34.55 kB / 271 MB, free: 3.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005214, allocations: 7.938 kB / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001191/0.005333, allocations: 53.62 kB / 271.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.005369, allocations: 55.41 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.005444, allocations: 138.7 kB / 271.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005453, allocations: 25.7 kB / 271.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.005478, allocations: 88.09 kB / 271.4 MB, free: 2.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.005488, allocations: 3.984 kB / 271.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.005514, allocations: 25.66 kB / 271.4 MB, free: 2.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.005584, allocations: 322.8 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.005598, allocations: 10.83 kB / 271.7 MB, free: 2.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.005617, allocations: 26.52 kB / 271.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.005649, allocations: 37.88 kB / 271.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00565, allocations: 0 / 271.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.308e-05/0.005713, allocations: 66.11 kB / 271.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.005726, allocations: 7.938 kB / 271.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00573, allocations: 0 / 271.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.005741, allocations: 7.938 kB / 271.9 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.005786, allocations: 16.03 kB / 271.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005788, allocations: 0 / 271.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.005805, allocations: 4 kB / 271.9 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005809, allocations: 0 / 271.9 MB, free: 2.414 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 6.677e-05/0.005876, allocations: 124.7 kB / 272 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.005912, allocations: 41.92 kB / 272 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.005999, allocations: 70.36 kB / 272.1 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.006003, allocations: 7.938 kB / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.006004, allocations: 0 / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006007, allocations: 0 / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.419e-05/0.006061, allocations: 81.83 kB / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.006065, allocations: 0 / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.006093, allocations: 4 kB / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006095, allocations: 0 / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.0061, allocations: 4 kB / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.006102, allocations: 4 kB / 272.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006103, allocations: 0 / 272.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.034e-05/0.006144, allocations: 63.83 kB / 272.3 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.00618, allocations: 19.88 kB / 272.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.006195, allocations: 7.938 kB / 272.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.006208, allocations: 0 / 272.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.006211, allocations: 4.141 kB / 272.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.006222, allocations: 16.05 kB / 272.3 MB, free: 1.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.684e-05/0.006249, allocations: 27.75 kB / 272.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006249, allocations: 0 / 272.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001156/0.006364, allocations: 16 kB / 272.4 MB, free: 1.867 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.0001181/0.006482, allocations: 92.41 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.382e-05/0.006546, allocations: 24.78 kB / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.00655, allocations: 4 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.00655, allocations: 4.188 kB / 272.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.00677, allocations: 74.91 kB / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.006988, allocations: 209.1 kB / 272.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.007019, allocations: 67.28 kB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.007037, allocations: 7.984 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.007103, allocations: 59.38 kB / 272.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007103, allocations: 0 / 272.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of Templates: time 0.003334/0.01044, allocations: 1.493 MB / 274.4 MB, free: 15.79 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 -s gbode -gbm=radauIIA3 -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","",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.3995382538996637]