Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.0008971/0.0008971, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002289, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007982/0.0007982, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002238, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.145/1.145, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1274/1.272, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.069e-05, allocations: 6.109 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002373/0.002404, allocations: 1.579 MB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.003259, allocations: 0.5852 MB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.003321, allocations: 0 / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.003376, allocations: 7.875 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.003443, allocations: 27.73 kB / 246.9 MB, free: 12 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.003858, allocations: 139.4 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.003999, allocations: 115.6 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.004043, allocations: 5.969 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.00416, allocations: 91.8 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.004515, allocations: 85.48 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.004542, allocations: 12 kB / 247.4 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.004787, allocations: 139.7 kB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.004838, allocations: 23.94 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.004875, allocations: 27.88 kB / 247.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.005129, allocations: 167.4 kB / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.005143, allocations: 0 / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005144, allocations: 0 / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.005154, allocations: 3.938 kB / 247.7 MB, free: 11.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005038/0.005658, allocations: 383.7 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.005691, allocations: 8.031 kB / 248.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.005938, allocations: 118 kB / 248.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.00605, allocations: 150.2 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.006068, allocations: 8.375 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.006085, allocations: 4.375 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.006213, allocations: 86.62 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.00622, allocations: 192 / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.006229, allocations: 4.125 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.006253, allocations: 15.98 kB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.006284, allocations: 17.64 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.006578, allocations: 218.7 kB / 248.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.006673, allocations: 109 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.006695, allocations: 17.72 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.006701, allocations: 0 / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.006826, allocations: 107.9 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 6.21e-07/0.006827, allocations: 4 kB / 248.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001465/0.006973, allocations: 103.2 kB / 249 MB, free: 9.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.007026, allocations: 93.09 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.007121, allocations: 174.5 kB / 249.3 MB, free: 9.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.007148, allocations: 45.69 kB / 249.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.007191, allocations: 100.5 kB / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.007226, allocations: 51.59 kB / 249.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.007278, allocations: 53.89 kB / 249.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.007347, allocations: 326.8 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.007386, allocations: 27.33 kB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.007438, allocations: 68.11 kB / 250 MB, free: 8.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.007528, allocations: 101.1 kB / 250.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00753, allocations: 3.938 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001373/0.007667, allocations: 136.4 kB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.007681, allocations: 7.938 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.007689, allocations: 0 / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007704, allocations: 4 kB / 250.2 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.00782, allocations: 47.98 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.007824, allocations: 64 / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.007859, allocations: 27.81 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.007869, allocations: 4 kB / 250.3 MB, free: 8.414 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: 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.92e-05/0.007958, allocations: 144.6 kB / 250.4 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.007969, allocations: 4 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.007995, allocations: 25.33 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007997, allocations: 0 / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.007999, allocations: 0 / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008003, allocations: 4 kB / 250.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.033e-05/0.008093, allocations: 93.81 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008094, allocations: 3.938 kB / 250.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.008112, allocations: 8 kB / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.008127, allocations: 23.83 kB / 250.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008129, allocations: 0 / 250.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.008135, allocations: 4.031 kB / 250.6 MB, free: 8.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.008137, allocations: 3.984 kB / 250.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008138, allocations: 4 kB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.522e-05/0.008233, allocations: 110.4 kB / 250.7 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.008252, allocations: 11.98 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.008274, allocations: 12 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.008313, allocations: 15.86 kB / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.008319, allocations: 3.984 kB / 250.7 MB, free: 7.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.008354, allocations: 45.81 kB / 250.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008354, allocations: 0 / 250.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.008516, allocations: 47.92 kB / 250.8 MB, free: 7.809 MB / 250.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.0004123/0.008929, allocations: 219 kB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.009089, allocations: 105.8 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.009093, allocations: 0 / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.009136, allocations: 32.73 kB / 251.2 MB, free: 7.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.009258, allocations: 36.16 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.009685, allocations: 245.9 kB / 251.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.00972, allocations: 75.28 kB / 251.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.918e-05/0.009759, allocations: 12.97 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.009817, allocations: 63.38 kB / 251.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009817, allocations: 0 / 251.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of Templates: time 0.003813/0.01363, allocations: 2.403 MB / 254 MB, free: 4.637 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.930668198503554]