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.001752/0.001752, allocations: 82.67 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001992/0.001992, allocations: 145.6 kB / 23.94 MB, free: 4.156 MB / 14.72 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 1.439/1.439, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 2.635e-06/2.635e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.846e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002539/0.002577, allocations: 0.8784 MB / 319.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.00326, allocations: 252.7 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.003357, allocations: 1.812 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.392e-05/0.003421, allocations: 5.531 kB / 320.1 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.003594, allocations: 12.3 kB / 320.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.004069, allocations: 104.2 kB / 320.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004214, allocations: 40.12 kB / 320.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.004309, allocations: 22.66 kB / 320.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.004374, allocations: 25.77 kB / 320.3 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.004447, allocations: 18.11 kB / 320.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.00447, allocations: 3.812 kB / 320.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.00458, allocations: 40.41 kB / 320.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.00465, allocations: 24.7 kB / 320.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.004683, allocations: 15.8 kB / 320.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.004879, allocations: 95.67 kB / 320.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.004881, allocations: 3.938 kB / 320.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004882, allocations: 0 / 320.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004887, allocations: 0 / 320.5 MB, free: 2.691 MB / 286.1 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.0004688/0.005355, allocations: 318.9 kB / 320.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005393, allocations: 10.58 kB / 320.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.005438, allocations: 13.78 kB / 320.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.005662, allocations: 144.4 kB / 320.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005674, allocations: 3.031 kB / 320.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005688, allocations: 6.562 kB / 320.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.00604, allocations: 152.8 kB / 321.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.006053, allocations: 4.188 kB / 321.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.006071, allocations: 10.41 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006078, allocations: 384 / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.006138, allocations: 25.45 kB / 321.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.006438, allocations: 209.6 kB / 321.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.006549, allocations: 38.52 kB / 321.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.006597, allocations: 21.27 kB / 321.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.007046, allocations: 61.91 kB / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.007072, allocations: 35.62 kB / 321.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.007074, allocations: 0 / 321.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002425/0.007316, allocations: 86.19 kB / 321.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.007368, allocations: 67.41 kB / 321.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.007507, allocations: 140.2 kB / 321.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.007522, allocations: 25.7 kB / 321.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.007567, allocations: 89.05 kB / 321.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.007582, allocations: 14.02 kB / 321.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.007623, allocations: 19.88 kB / 321.9 MB, free: 1.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.007695, allocations: 316 kB / 322.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.007731, allocations: 20.56 kB / 322.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.007771, allocations: 37.12 kB / 322.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.007834, allocations: 44.81 kB / 322.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.007837, allocations: 1.312 kB / 322.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000138/0.007975, allocations: 86.78 kB / 322.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007991, allocations: 12.84 kB / 322.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.007997, allocations: 1.781 kB / 322.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.008013, allocations: 1.188 kB / 322.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.00808, allocations: 13.09 kB / 322.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.008088, allocations: 6.078 kB / 322.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.008112, allocations: 1.156 kB / 322.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.008119, allocations: 2.219 kB / 322.5 MB, free: 0.957 MB / 286.1 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 7.75e-05/0.008196, allocations: 127.3 kB / 322.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.008284, allocations: 79.48 kB / 322.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.008429, allocations: 83.64 kB / 322.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008432, allocations: 1.969 kB / 322.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.008436, allocations: 1.156 kB / 322.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00844, allocations: 0 / 322.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.318e-05/0.008503, allocations: 121.3 kB / 322.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.008508, allocations: 1.156 kB / 322.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.008542, allocations: 8.906 kB / 322.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008545, allocations: 1.438 kB / 322.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008554, allocations: 4.688 kB / 322.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008556, allocations: 1.406 kB / 322.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.008557, allocations: 4.875 kB / 322.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.008665, allocations: 103.4 kB / 323 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.008706, allocations: 18.19 kB / 323 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.008733, allocations: 12.11 kB / 323 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.008756, allocations: 0 / 323 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.008758, allocations: 1.281 kB / 323 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.008771, allocations: 1.891 kB / 323 MB, free: 492 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.797e-05/0.008829, allocations: 112 kB / 323.1 MB, free: 408 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008829, allocations: 0 / 323.1 MB, free: 408 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.009042, allocations: 14.03 kB / 323.1 MB, free: 408 kB / 286.1 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.0001511/0.009193, allocations: 114.4 kB / 323.3 MB, free: 312 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009316, allocations: 40.58 kB / 323.3 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.009319, allocations: 1.156 kB / 323.3 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.009319, allocations: 0 / 323.3 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.009679, allocations: 84.81 kB / 323.4 MB, free: 248 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.009976, allocations: 188.5 kB / 323.6 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.637e-05/0.01004, allocations: 87.81 kB / 323.6 MB, free: 8 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.954e-05/0.01006, allocations: 8.562 kB / 323.7 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.01011, allocations: 12.81 kB / 323.7 MB, free: 16 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01011, allocations: 0 / 323.7 MB, free: 16 MB / 302.1 MB Notification: Performance of Templates: time 0.004578/0.01469, allocations: 1.387 MB / 325.1 MB, free: 15.83 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.171491619199514]