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.0009812/0.0009812, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001141/0.001141, allocations: 167 kB / 25.7 MB, free: 8.402 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.8892/0.8892, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.483e-06/1.483e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.277e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002147/0.002169, allocations: 1.555 MB / 253.1 MB, free: 5.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.00306, allocations: 0.569 MB / 253.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.00311, allocations: 4 kB / 253.7 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.979e-05/0.003199, allocations: 11.86 kB / 253.7 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.003263, allocations: 11.88 kB / 253.7 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.003807, allocations: 163.2 kB / 253.9 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.00393, allocations: 119.7 kB / 254 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.003968, allocations: 17.97 kB / 254 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.004042, allocations: 67.8 kB / 254.1 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.004088, allocations: 39.88 kB / 254.1 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004108, allocations: 12 kB / 254.1 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.004382, allocations: 163.7 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.004426, allocations: 39.83 kB / 254.3 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.004466, allocations: 35.91 kB / 254.4 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.004713, allocations: 199.3 kB / 254.6 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004716, allocations: 0 / 254.6 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004717, allocations: 0 / 254.6 MB, free: 4.223 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.00472, allocations: 0 / 254.6 MB, free: 4.223 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.0004222/0.005142, allocations: 359.9 kB / 254.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.005176, allocations: 15.98 kB / 254.9 MB, free: 3.828 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.00542, allocations: 48.88 kB / 255 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005535, allocations: 146.2 kB / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.005556, allocations: 12.34 kB / 255.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.005569, allocations: 4.375 kB / 255.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.005689, allocations: 74.77 kB / 255.2 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005697, allocations: 4.172 kB / 255.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005705, allocations: 384 / 255.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005711, allocations: 4.375 kB / 255.2 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.005748, allocations: 29.52 kB / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.006069, allocations: 210.7 kB / 255.4 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006175, allocations: 113.1 kB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.006197, allocations: 21.7 kB / 255.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.006204, allocations: 4 kB / 255.6 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.006359, allocations: 95.89 kB / 255.7 MB, free: 2.969 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.00636, allocations: 4 kB / 255.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001586/0.006518, allocations: 107.2 kB / 255.8 MB, free: 2.852 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.006569, allocations: 93.05 kB / 255.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.006672, allocations: 170.5 kB / 256 MB, free: 2.562 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.006699, allocations: 41.69 kB / 256.1 MB, free: 2.516 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.006744, allocations: 104.6 kB / 256.2 MB, free: 2.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.006778, allocations: 43.61 kB / 256.2 MB, free: 2.367 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.006838, allocations: 53.89 kB / 256.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.006928, allocations: 330.8 kB / 256.6 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.006975, allocations: 35.33 kB / 256.6 MB, free: 1.938 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.007026, allocations: 59.52 kB / 256.7 MB, free: 1.871 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.007127, allocations: 104.6 kB / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007129, allocations: 0 / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001613/0.00729, allocations: 148.4 kB / 256.9 MB, free: 1.605 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.007305, allocations: 4 kB / 256.9 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.007314, allocations: 7.938 kB / 257 MB, free: 1.594 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.007327, allocations: 0 / 257 MB, free: 1.594 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.007446, allocations: 43.92 kB / 257 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007449, allocations: 4.062 kB / 257 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.00749, allocations: 27.81 kB / 257 MB, free: 1.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.007502, allocations: 4 kB / 257 MB, free: 1.516 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.701e-05/0.007589, allocations: 136.6 kB / 257.2 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.007605, allocations: 12.08 kB / 257.2 MB, free: 1.359 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.007633, allocations: 21.38 kB / 257.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.007636, allocations: 4 kB / 257.2 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007638, allocations: 0 / 257.2 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.007641, allocations: 4 kB / 257.2 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.007738, allocations: 89.81 kB / 257.3 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.007741, allocations: 3.984 kB / 257.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.00776, allocations: 8 kB / 257.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007762, allocations: 0 / 257.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.007771, allocations: 8 kB / 257.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007773, allocations: 4 kB / 257.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.007776, allocations: 4.406 kB / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.007886, allocations: 118.4 kB / 257.4 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.007901, allocations: 15.84 kB / 257.5 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.007922, allocations: 11.98 kB / 257.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.007945, allocations: 8 kB / 257.5 MB, free: 1.016 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.00798, allocations: 11.92 kB / 257.5 MB, free: 1.004 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.007986, allocations: 0 / 257.5 MB, free: 1.004 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.008024, allocations: 53.81 kB / 257.5 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008024, allocations: 0 / 257.5 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.008224, allocations: 51.92 kB / 257.6 MB, free: 0.8984 MB / 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.0004435/0.008668, allocations: 250 kB / 257.8 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.008815, allocations: 92.89 kB / 257.9 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.00882, allocations: 4 kB / 257.9 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.008855, allocations: 28.97 kB / 258 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.008975, allocations: 15.98 kB / 258 MB, free: 0.543 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.009295, allocations: 241 kB / 258.2 MB, free: 284 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.009333, allocations: 71.28 kB / 258.3 MB, free: 192 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.009379, allocations: 20.94 kB / 258.3 MB, free: 164 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.009438, allocations: 63.38 kB / 258.4 MB, free: 100 kB / 234.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009438, allocations: 4 kB / 258.4 MB, free: 96 kB / 234.7 MB Notification: Performance of Templates: time 0.004442/0.01388, allocations: 2.573 MB / 260.9 MB, free: 13.52 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 -s gbode -gbm=radauIIA3 -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.576578033156693]