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.001898/0.001898, allocations: 119.4 kB / 18.41 MB, free: 4.688 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.002318/0.002318, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.515/1.515, allocations: 222.9 MB / 247.1 MB, free: 4.219 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 0.001628/0.001628, allocations: 47.92 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 49.44 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002398/0.1369, allocations: 0.8834 MB / 409 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.1376, allocations: 247.1 kB / 409.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.1377, allocations: 7.938 kB / 409.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.1378, allocations: 7.875 kB / 409.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.138, allocations: 11.92 kB / 409.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.1385, allocations: 99.72 kB / 409.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1386, allocations: 43.91 kB / 409.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1388, allocations: 15.98 kB / 409.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.1388, allocations: 19.92 kB / 409.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.1389, allocations: 19.86 kB / 409.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1389, allocations: 4 kB / 409.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.139, allocations: 43.97 kB / 409.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.1391, allocations: 19.92 kB / 409.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.1392, allocations: 35.78 kB / 409.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1394, allocations: 99.44 kB / 409.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1394, allocations: 0 / 409.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1394, allocations: 0 / 409.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1394, allocations: 0 / 409.7 MB, free: 5.34 MB / 334.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.0006001/0.14, allocations: 387.1 kB / 410 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1401, allocations: 11.89 kB / 410 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1401, allocations: 16.84 kB / 410.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1405, allocations: 200.1 kB / 410.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1405, allocations: 4.375 kB / 410.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1405, allocations: 4.312 kB / 410.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1409, allocations: 157.6 kB / 410.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1409, allocations: 192 / 410.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1409, allocations: 3.938 kB / 410.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1409, allocations: 3.938 kB / 410.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.141, allocations: 23.92 kB / 410.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1413, allocations: 269.7 kB / 410.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1414, allocations: 46.52 kB / 410.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1415, allocations: 32.83 kB / 410.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.1423, allocations: 0.5818 MB / 411.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1423, allocations: 42.56 kB / 411.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1424, allocations: 0 / 411.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002339/0.1426, allocations: 85.59 kB / 411.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1427, allocations: 55.41 kB / 411.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1428, allocations: 147.1 kB / 411.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1429, allocations: 29.64 kB / 411.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1429, allocations: 92.12 kB / 411.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1429, allocations: 7.953 kB / 411.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.143, allocations: 25.66 kB / 411.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1431, allocations: 330.8 kB / 412.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.1432, allocations: 15.98 kB / 412.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.1433, allocations: 62 kB / 412.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1434, allocations: 81.88 kB / 412.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1434, allocations: 0 / 412.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1436, allocations: 117.5 kB / 412.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1436, allocations: 4 kB / 412.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1436, allocations: 0 / 412.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1436, allocations: 4 kB / 412.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.1437, allocations: 16 kB / 412.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1437, allocations: 12.16 kB / 412.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.1438, allocations: 7.953 kB / 412.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1438, allocations: 4 kB / 412.5 MB, free: 2.094 MB / 334.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.0001319/0.1439, allocations: 138 kB / 412.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.144, allocations: 69.62 kB / 412.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.1442, allocations: 82.33 kB / 412.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1442, allocations: 0 / 412.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.1443, allocations: 4 kB / 412.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1443, allocations: 3.938 kB / 412.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1444, allocations: 173.8 kB / 412.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1444, allocations: 4 kB / 413 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.1445, allocations: 7.938 kB / 413 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1445, allocations: 0 / 413 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1445, allocations: 8 kB / 413 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1445, allocations: 0 / 413 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1445, allocations: 0 / 413 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1447, allocations: 104.9 kB / 413.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.1448, allocations: 101 kB / 413.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1448, allocations: 4 kB / 413.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.1448, allocations: 0 / 413.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-06/0.1449, allocations: 4 kB / 413.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1449, allocations: 4 kB / 413.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.145, allocations: 116.7 kB / 413.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 413.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1452, allocations: 23.94 kB / 413.3 MB, free: 1.152 MB / 334.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.0002152/0.1455, allocations: 115.3 kB / 413.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1456, allocations: 55.91 kB / 413.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1456, allocations: 448 / 413.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.1456, allocations: 4 kB / 413.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1461, allocations: 82.84 kB / 413.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1465, allocations: 206.4 kB / 413.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1469, allocations: 0.7039 MB / 414.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1469, allocations: 11.44 kB / 414.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1469, allocations: 0 / 414.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Templates: time 0.003638/0.1506, allocations: 1.31 MB / 415.8 MB, free: 14.61 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.361162021989003]