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.001923/0.001923, allocations: 115.4 kB / 18.45 MB, free: 4.562 MB / 14.72 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.002073/0.002073, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002115/0.002115, allocations: 47.92 kB / 374.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1496, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002947/0.1526, allocations: 0.8921 MB / 428.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.1533, allocations: 251.1 kB / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.1534, allocations: 0 / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.1534, allocations: 11.92 kB / 428.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1536, allocations: 7.938 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.1541, allocations: 103.7 kB / 428.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1542, allocations: 47.84 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1543, allocations: 15.98 kB / 428.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1544, allocations: 11.94 kB / 428.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.1545, allocations: 27.84 kB / 428.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1545, allocations: 4 kB / 428.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1546, allocations: 47.89 kB / 428.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.1547, allocations: 19.92 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.1547, allocations: 23.81 kB / 428.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1549, allocations: 99.59 kB / 429 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1549, allocations: 4 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1549, allocations: 0 / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1549, allocations: 0 / 429 MB, free: 2.758 MB / 350.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.0006133/0.1555, allocations: 387 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1556, allocations: 12.03 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.1556, allocations: 8.891 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.156, allocations: 200.1 kB / 429.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.156, allocations: 384 / 429.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.156, allocations: 16.3 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.1563, allocations: 149.5 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1563, allocations: 8.125 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1564, allocations: 3.938 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1564, allocations: 0 / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.1564, allocations: 20 kB / 429.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1568, allocations: 269.8 kB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1569, allocations: 46.44 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.1569, allocations: 20.86 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.1577, allocations: 0.5896 MB / 430.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1577, allocations: 30.56 kB / 430.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1577, allocations: 0 / 430.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002405/0.158, allocations: 85.62 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.158, allocations: 55.34 kB / 430.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1582, allocations: 153.8 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1582, allocations: 25.7 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.1583, allocations: 92.14 kB / 431.2 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1583, allocations: 3.953 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1583, allocations: 29.7 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1585, allocations: 322.8 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.1585, allocations: 15.98 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.1586, allocations: 69.98 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1587, allocations: 81.88 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1587, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000162/0.1589, allocations: 109.4 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1589, allocations: 9.875 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1589, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1589, allocations: 4.219 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.159, allocations: 23.92 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.159, allocations: 4 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.1591, allocations: 4.141 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1591, allocations: 4 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 10 * 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 0.0001217/0.1592, allocations: 141.6 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1593, allocations: 73.58 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.1595, allocations: 82.72 kB / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1595, allocations: 8.031 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1595, allocations: 4 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1595, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1597, allocations: 181.5 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1597, allocations: 0 / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1597, allocations: 4 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1597, allocations: 4 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.1597, allocations: 3.984 kB / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1597, allocations: 7.922 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1597, allocations: 0 / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1599, allocations: 109 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.16, allocations: 96.98 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.16, allocations: 7.984 kB / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.16, allocations: 0 / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.16, allocations: 0 / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.16, allocations: 4 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.1601, allocations: 121.1 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1601, allocations: 0 / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1603, allocations: 16 kB / 432.7 MB, free: 14.58 MB / 366.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.0001949/0.1605, allocations: 117.5 kB / 432.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1607, allocations: 47.86 kB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1607, allocations: 0 / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1607, allocations: 0 / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1611, allocations: 85.61 kB / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1615, allocations: 203.5 kB / 433.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1619, allocations: 0.7002 MB / 433.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1619, allocations: 11.44 kB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1619, allocations: 0 / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003424/0.1653, allocations: 1.305 MB / 435.2 MB, free: 12.05 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.87438628898235]