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.0009323/0.0009323, 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.0008877/0.0008877, allocations: 141.7 kB / 24.89 MB, free: 8.777 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.8921/0.8921, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.012e-06/1.012e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.256e-05, allocations: 5.969 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001383/0.001396, allocations: 0.9171 MB / 269.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.001782, allocations: 250.8 kB / 269.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.001839, allocations: 4 kB / 269.7 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.001878, allocations: 3.938 kB / 269.7 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.001999, allocations: 19.84 kB / 269.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.002281, allocations: 95.7 kB / 269.8 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.002371, allocations: 47.86 kB / 269.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.002428, allocations: 15.92 kB / 269.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.00247, allocations: 31.84 kB / 269.9 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.002522, allocations: 15.97 kB / 269.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.002537, allocations: 4 kB / 269.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.002606, allocations: 39.91 kB / 269.9 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.00265, allocations: 23.92 kB / 269.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.002672, allocations: 15.98 kB / 270 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.002782, allocations: 75.72 kB / 270 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.002784, allocations: 0 / 270 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002784, allocations: 0 / 270 MB, free: 4.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.314e-06/0.002787, allocations: 4 kB / 270 MB, free: 4.457 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.0002878/0.003074, allocations: 284.5 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.54e-05/0.0031, allocations: 12.03 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.003126, allocations: 12.88 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.003247, allocations: 137.6 kB / 270.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.003255, allocations: 4.375 kB / 270.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.003263, allocations: 4.375 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.003412, allocations: 127.1 kB / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-06/0.003417, allocations: 192 / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.003423, allocations: 4.375 kB / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003427, allocations: 384 / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.003444, allocations: 10.77 kB / 270.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.003564, allocations: 163.9 kB / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.003616, allocations: 26.58 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.003631, allocations: 16.89 kB / 270.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.003815, allocations: 56.02 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.003831, allocations: 34.5 kB / 270.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.003833, allocations: 3.984 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001032/0.003936, allocations: 57.56 kB / 271 MB, free: 3.402 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.003971, allocations: 63.39 kB / 271 MB, free: 3.328 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.181e-05/0.004033, allocations: 130.7 kB / 271.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.004042, allocations: 29.7 kB / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.004067, allocations: 92.08 kB / 271.3 MB, free: 3.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-06/0.004074, allocations: 4 kB / 271.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.004102, allocations: 25.66 kB / 271.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.004163, allocations: 314.8 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.004174, allocations: 6.828 kB / 271.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.004192, allocations: 30.56 kB / 271.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.004222, allocations: 41.81 kB / 271.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004224, allocations: 4.125 kB / 271.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.36e-05/0.004278, allocations: 66.09 kB / 271.8 MB, free: 2.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.004287, allocations: 8 kB / 271.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.004291, allocations: 0 / 271.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.0043, allocations: 3.938 kB / 271.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.004337, allocations: 8 kB / 271.8 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.00434, allocations: 3.938 kB / 271.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.004356, allocations: 11.94 kB / 271.8 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.00436, allocations: 0 / 271.8 MB, free: 2.492 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 5.557e-05/0.004415, allocations: 124.8 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.004447, allocations: 41.69 kB / 272 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.00452, allocations: 70.62 kB / 272 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.004524, allocations: 3.938 kB / 272 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.004526, allocations: 3.984 kB / 272 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004528, allocations: 0 / 272 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.554e-05/0.004574, allocations: 77.83 kB / 272.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.004577, allocations: 0 / 272.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.004594, allocations: 4 kB / 272.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004595, allocations: 0 / 272.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.004599, allocations: 8 kB / 272.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.0046, allocations: 0 / 272.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.0046, allocations: 0 / 272.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.261e-05/0.004633, allocations: 59.89 kB / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.004659, allocations: 19.89 kB / 272.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.004673, allocations: 7.922 kB / 272.2 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.004684, allocations: 4 kB / 272.2 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-06/0.004686, allocations: 0 / 272.2 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.004694, allocations: 3.938 kB / 272.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.207e-05/0.004716, allocations: 31.75 kB / 272.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004716, allocations: 0 / 272.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.004834, allocations: 20 kB / 272.3 MB, free: 1.957 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 8.747e-05/0.004922, allocations: 88.41 kB / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.215e-05/0.004974, allocations: 24.84 kB / 272.4 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.004976, allocations: 7.938 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.004976, allocations: 3.938 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.00514, allocations: 75.27 kB / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.005324, allocations: 209.1 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.005355, allocations: 75.47 kB / 272.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.209e-05/0.005367, allocations: 4 kB / 272.7 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.005423, allocations: 63.36 kB / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005424, allocations: 0 / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of Templates: time 0.002644/0.008068, allocations: 1.498 MB / 274.3 MB, free: 15.86 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 -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.4107074276544154]