Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001084/0.001084, allocations: 84.98 kB / 23 MB, free: 1.504 MB / 18.57 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.001197/0.001197, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9889/0.9889, allocations: 158.6 MB / 188.3 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.723e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001814/0.001831, allocations: 1.5 MB / 253.8 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.002574, allocations: 0.5459 MB / 254.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.002617, allocations: 4 kB / 254.3 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.393e-05/0.002711, allocations: 15.8 kB / 254.3 MB, free: 5.16 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.002768, allocations: 15.8 kB / 254.3 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.003182, allocations: 167.3 kB / 254.5 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003292, allocations: 115.6 kB / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.003327, allocations: 13.31 kB / 254.6 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.003395, allocations: 71.8 kB / 254.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.003439, allocations: 47.86 kB / 254.8 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.003459, allocations: 8 kB / 254.8 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.003656, allocations: 159.7 kB / 254.9 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.003757, allocations: 35.84 kB / 254.9 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.00379, allocations: 27.91 kB / 255 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.004002, allocations: 203.3 kB / 255.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004003, allocations: 0 / 255.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004004, allocations: 0 / 255.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004007, allocations: 0 / 255.2 MB, free: 4.312 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004245/0.004431, allocations: 499.6 kB / 255.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.00446, allocations: 11.98 kB / 255.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.004649, allocations: 44.81 kB / 255.7 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.709e-05/0.004746, allocations: 157.1 kB / 255.9 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.004761, allocations: 8.297 kB / 255.9 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.004774, allocations: 12.38 kB / 255.9 MB, free: 3.527 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.004877, allocations: 73.59 kB / 256 MB, free: 3.441 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004883, allocations: 192 / 256 MB, free: 3.441 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.00489, allocations: 384 / 256 MB, free: 3.441 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.004895, allocations: 4.375 kB / 256 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.004928, allocations: 23.92 kB / 256 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.005259, allocations: 328 kB / 256.3 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.005353, allocations: 82.2 kB / 256.4 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.005377, allocations: 27.31 kB / 256.4 MB, free: 2.922 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.005382, allocations: 0 / 256.4 MB, free: 2.922 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.005494, allocations: 116.3 kB / 256.5 MB, free: 2.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 7.61e-07/0.005495, allocations: 4 kB / 256.5 MB, free: 2.781 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002067/0.005702, allocations: 145.4 kB / 256.7 MB, free: 2.633 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.005744, allocations: 96.97 kB / 256.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.005854, allocations: 230.5 kB / 257 MB, free: 2.277 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.005878, allocations: 41.7 kB / 257 MB, free: 2.23 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.005934, allocations: 155.3 kB / 257.2 MB, free: 2.074 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.005966, allocations: 43.66 kB / 257.2 MB, free: 2.031 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.006025, allocations: 67.55 kB / 257.3 MB, free: 1.953 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006136, allocations: 0.4962 MB / 257.8 MB, free: 1.445 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.006177, allocations: 32.48 kB / 257.8 MB, free: 1.414 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.006235, allocations: 79.97 kB / 257.9 MB, free: 1.324 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.006328, allocations: 103.5 kB / 258 MB, free: 1.211 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00633, allocations: 0 / 258 MB, free: 1.211 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001649/0.006494, allocations: 165.5 kB / 258.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.006506, allocations: 11.92 kB / 258.2 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.006511, allocations: 0 / 258.2 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.00652, allocations: 4 kB / 258.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.006627, allocations: 43.92 kB / 258.2 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.00663, allocations: 4.062 kB / 258.2 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.006665, allocations: 19.84 kB / 258.3 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.006678, allocations: 11.98 kB / 258.3 MB, free: 0.9492 MB / 234.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: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 8.443e-05/0.006762, allocations: 184.6 kB / 258.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.006784, allocations: 23.84 kB / 258.5 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.006816, allocations: 21.39 kB / 258.5 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006818, allocations: 0 / 258.5 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.00682, allocations: 0 / 258.5 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.006825, allocations: 4 kB / 258.5 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.006942, allocations: 121.2 kB / 258.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006943, allocations: 4 kB / 258.6 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.006969, allocations: 4 kB / 258.6 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.006972, allocations: 0 / 258.6 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.006981, allocations: 7.984 kB / 258.6 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006983, allocations: 0 / 258.6 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.006985, allocations: 3.938 kB / 258.6 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.007183, allocations: 176.1 kB / 258.8 MB, free: 352 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.007208, allocations: 23.89 kB / 258.8 MB, free: 328 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.007231, allocations: 4 kB / 258.8 MB, free: 324 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.007268, allocations: 8 kB / 258.8 MB, free: 316 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.007309, allocations: 19.91 kB / 258.9 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.007317, allocations: 4 kB / 258.9 MB, free: 292 kB / 234.7 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.007404, allocations: 155.4 kB / 259 MB, free: 136 kB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007404, allocations: 0 / 259 MB, free: 136 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.000315/0.007719, allocations: 63.84 kB / 259.1 MB, free: 72 kB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004387/0.008158, allocations: 232.6 kB / 259.3 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.008361, allocations: 99.08 kB / 259.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008362, allocations: 0 / 259.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.008417, allocations: 31.73 kB / 259.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.008645, allocations: 28.11 kB / 259.5 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.008997, allocations: 248.9 kB / 259.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.009042, allocations: 67.34 kB / 259.8 MB, free: 15.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.0091, allocations: 20.94 kB / 259.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.009184, allocations: 90.12 kB / 259.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009185, allocations: 0 / 259.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of Templates: time 0.005612/0.0148, allocations: 2.695 MB / 262.6 MB, free: 12.54 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/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.8996808477677405]