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.0009953/0.0009953, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001026/0.001026, allocations: 158.8 kB / 25.75 MB, free: 8.582 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.869/0.869, allocations: 158.6 MB / 187.5 MB, free: 2.91 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.734e-06/1.734e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.961e-05, allocations: 6.25 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002164/0.002194, allocations: 1.501 MB / 252.6 MB, free: 6.285 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.003103, allocations: 0.5652 MB / 253.2 MB, free: 5.715 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.003169, allocations: 8 kB / 253.2 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.003296, allocations: 7.875 kB / 253.2 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.003375, allocations: 19.73 kB / 253.2 MB, free: 5.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.004012, allocations: 167.4 kB / 253.4 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.004137, allocations: 115.6 kB / 253.5 MB, free: 5.402 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.004184, allocations: 9.312 kB / 253.5 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.004261, allocations: 67.86 kB / 253.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.004308, allocations: 43.81 kB / 253.6 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.004328, allocations: 12 kB / 253.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.004567, allocations: 159.7 kB / 253.8 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.004617, allocations: 31.91 kB / 253.8 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.004664, allocations: 35.84 kB / 253.8 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.004943, allocations: 203.4 kB / 254 MB, free: 4.852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.004949, allocations: 4 kB / 254 MB, free: 4.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00495, allocations: 0 / 254 MB, free: 4.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.004955, allocations: 0 / 254 MB, free: 4.848 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.0005638/0.005519, allocations: 487.6 kB / 254.5 MB, free: 4.332 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005555, allocations: 11.98 kB / 254.5 MB, free: 4.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.005812, allocations: 40.81 kB / 254.6 MB, free: 4.281 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.005948, allocations: 165 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.00597, allocations: 4.375 kB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.005988, allocations: 12.38 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.00614, allocations: 81.53 kB / 254.8 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006147, allocations: 192 / 254.8 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.006159, allocations: 8.359 kB / 254.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006167, allocations: 384 / 254.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.006219, allocations: 27.86 kB / 254.9 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.00669, allocations: 355.4 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.006815, allocations: 82.11 kB / 255.3 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.006856, allocations: 35.42 kB / 255.3 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.006865, allocations: 0 / 255.3 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007021, allocations: 116.1 kB / 255.4 MB, free: 3.277 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.007022, allocations: 4 kB / 255.4 MB, free: 3.273 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002833/0.007305, allocations: 145.6 kB / 255.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.007363, allocations: 97.03 kB / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.007514, allocations: 229.8 kB / 255.9 MB, free: 2.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.007546, allocations: 49.69 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.00761, allocations: 147.4 kB / 256.1 MB, free: 2.566 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.007644, allocations: 43.69 kB / 256.1 MB, free: 2.523 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.007711, allocations: 71.56 kB / 256.2 MB, free: 2.441 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.007827, allocations: 0.4962 MB / 256.7 MB, free: 1.934 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.007897, allocations: 40.48 kB / 256.7 MB, free: 1.895 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.007985, allocations: 80 kB / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.008124, allocations: 119.4 kB / 256.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008126, allocations: 0 / 256.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000226/0.008352, allocations: 197.4 kB / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.008369, allocations: 4 kB / 257.1 MB, free: 1.469 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.008377, allocations: 4 kB / 257.1 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.008395, allocations: 4 kB / 257.1 MB, free: 1.461 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.008545, allocations: 47.91 kB / 257.2 MB, free: 1.414 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.008552, allocations: 0 / 257.2 MB, free: 1.414 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.008593, allocations: 15.91 kB / 257.2 MB, free: 1.398 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.008607, allocations: 8 kB / 257.2 MB, free: 1.391 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,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.0001058/0.008713, allocations: 196.5 kB / 257.4 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.008734, allocations: 19.84 kB / 257.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.008762, allocations: 13.45 kB / 257.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.008766, allocations: 8.078 kB / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00877, allocations: 0 / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008773, allocations: 0 / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.008888, allocations: 144.6 kB / 257.6 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00889, allocations: 4 kB / 257.6 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.008911, allocations: 4 kB / 257.6 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008914, allocations: 0 / 257.6 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.008925, allocations: 11.94 kB / 257.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.008927, allocations: 0 / 257.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.008928, allocations: 0 / 257.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.009113, allocations: 187.9 kB / 257.8 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.009136, allocations: 15.84 kB / 257.8 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.009162, allocations: 15.92 kB / 257.8 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.009191, allocations: 4 kB / 257.8 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.009237, allocations: 7.984 kB / 257.8 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.009245, allocations: 7.984 kB / 257.8 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.009317, allocations: 164.2 kB / 258 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009317, allocations: 4 kB / 258 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.009541, allocations: 47.94 kB / 258.1 MB, free: 484 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.0004383/0.00998, allocations: 241.4 kB / 258.3 MB, free: 272 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.01018, allocations: 107.7 kB / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01018, allocations: 0 / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01023, allocations: 35.67 kB / 258.4 MB, free: 120 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.0104, allocations: 19.98 kB / 258.4 MB, free: 100 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.01082, allocations: 257 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.01086, allocations: 75.33 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.01092, allocations: 12.97 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01095, allocations: 16.5 kB / 258.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01095, allocations: 0 / 258.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of Templates: time 0.004355/0.01531, allocations: 2.379 MB / 261.2 MB, free: 13.32 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.693595275050029]