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.001961/0.001961, allocations: 92.33 kB / 21.73 MB, free: 2.684 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.001988/0.001988, allocations: 165.5 kB / 25.02 MB, free: 9.438 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 1.437/1.437, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.284e-06/2.284e-06, allocations: 0 / 250.4 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.599e-05, allocations: 2.312 kB / 250.4 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003696/0.003732, allocations: 1.475 MB / 251.8 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.005426, allocations: 0.5542 MB / 252.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.005479, allocations: 0 / 252.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.005598, allocations: 15.86 kB / 252.4 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.005691, allocations: 15.81 kB / 252.4 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.006474, allocations: 163.4 kB / 252.6 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.006704, allocations: 119.6 kB / 252.7 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.00676, allocations: 9.25 kB / 252.7 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.006904, allocations: 63.86 kB / 252.8 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.007, allocations: 47.81 kB / 252.8 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.007041, allocations: 12 kB / 252.8 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.007516, allocations: 159.6 kB / 253 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.00759, allocations: 27.92 kB / 253 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.007686, allocations: 43.83 kB / 253 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.008208, allocations: 235.2 kB / 253.3 MB, free: 1.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008211, allocations: 0 / 253.3 MB, free: 1.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008212, allocations: 0 / 253.3 MB, free: 1.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008217, allocations: 0 / 253.3 MB, free: 1.02 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.000902/0.009119, allocations: 381.4 kB / 253.6 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.009169, allocations: 15.97 kB / 253.7 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.00964, allocations: 44.77 kB / 253.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.009864, allocations: 145.6 kB / 253.9 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.009887, allocations: 384 / 253.9 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.009917, allocations: 12.38 kB / 253.9 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.01027, allocations: 119.8 kB / 254 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.01028, allocations: 192 / 254 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01029, allocations: 384 / 254 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.0103, allocations: 384 / 254 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.01057, allocations: 63.83 kB / 254 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.01151, allocations: 313.1 kB / 254.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.01199, allocations: 121.2 kB / 254.5 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.01225, allocations: 45.7 kB / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.01227, allocations: 0 / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.01271, allocations: 141 kB / 254.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.01271, allocations: 0 / 254.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007829/0.01349, allocations: 245.5 kB / 254.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.0136, allocations: 93.09 kB / 255 MB, free: 15.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.01385, allocations: 170.3 kB / 255.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.01392, allocations: 45.7 kB / 255.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01404, allocations: 104.6 kB / 255.3 MB, free: 14.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.0141, allocations: 43.67 kB / 255.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.01424, allocations: 65.86 kB / 255.4 MB, free: 14.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.01446, allocations: 326.8 kB / 255.7 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.01475, allocations: 104.5 kB / 255.8 MB, free: 14.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.01508, allocations: 127.5 kB / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.01563, allocations: 211 kB / 256.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01563, allocations: 0 / 256.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000827/0.01646, allocations: 305.3 kB / 256.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.01648, allocations: 8.062 kB / 256.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.01649, allocations: 0 / 256.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.01651, allocations: 4 kB / 256.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.01674, allocations: 31.97 kB / 256.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.01676, allocations: 3.938 kB / 256.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01688, allocations: 23.84 kB / 256.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.0169, allocations: 7.938 kB / 256.5 MB, free: 13.53 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,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,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 0.000214/0.01712, allocations: 149.8 kB / 256.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.01717, allocations: 15.89 kB / 256.7 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.01722, allocations: 17.45 kB / 256.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01722, allocations: 0 / 256.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.01723, allocations: 4 kB / 256.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01723, allocations: 0 / 256.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.01747, allocations: 149.2 kB / 256.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01748, allocations: 0 / 256.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.01754, allocations: 11.94 kB / 256.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01754, allocations: 96 / 256.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.01756, allocations: 7.922 kB / 256.9 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01757, allocations: 8 kB / 256.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.01757, allocations: 3.984 kB / 256.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.01815, allocations: 213.8 kB / 257.1 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.0182, allocations: 19.84 kB / 257.1 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.01824, allocations: 11.94 kB / 257.1 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.01833, allocations: 7.984 kB / 257.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.01841, allocations: 15.92 kB / 257.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01843, allocations: 4 kB / 257.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.01862, allocations: 132.2 kB / 257.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01862, allocations: 4 kB / 257.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004463/0.01907, allocations: 47.94 kB / 257.3 MB, free: 12.66 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.0008247/0.01989, allocations: 242.8 kB / 257.6 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.02051, allocations: 172.1 kB / 257.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02052, allocations: 4 kB / 257.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.02073, allocations: 55.89 kB / 257.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.02108, allocations: 27.88 kB / 257.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.02181, allocations: 268.6 kB / 258.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.02197, allocations: 93.78 kB / 258.2 MB, free: 11.78 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.538e-05/0.02205, allocations: 16.95 kB / 258.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.02213, allocations: 20.5 kB / 258.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02213, allocations: 0 / 258.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of Templates: time 0.008949/0.03108, allocations: 2.373 MB / 260.6 MB, free: 9.375 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.599079250940122]