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.001679/0.001679, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001857/0.001857, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.592/1.592, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001625/0.001625, allocations: 51.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1172, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002858/0.1201, allocations: 1.494 MB / 428.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1213, allocations: 0.5847 MB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.1213, allocations: 0 / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.1214, allocations: 11.86 kB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.1215, allocations: 11.81 kB / 428.9 MB, free: 2.184 MB / 350.1 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.0005595/0.1221, allocations: 147.5 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1222, allocations: 119.6 kB / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1223, allocations: 5.125 kB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.1223, allocations: 47.83 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.1229, allocations: 68.33 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.123, allocations: 15.98 kB / 429.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.1232, allocations: 119.8 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1233, allocations: 27.92 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.1233, allocations: 55.66 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1237, allocations: 203.2 kB / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1237, allocations: 0 / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1237, allocations: 0 / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1237, allocations: 0 / 429.7 MB, free: 1.391 MB / 350.1 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.0007689/0.1245, allocations: 454.5 kB / 430.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1245, allocations: 12.03 kB / 430.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.1248, allocations: 40.81 kB / 430.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.125, allocations: 208.1 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.125, allocations: 8.375 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1251, allocations: 8.312 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.1253, allocations: 123.4 kB / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1253, allocations: 0 / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1253, allocations: 4 kB / 430.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1253, allocations: 4 kB / 430.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1255, allocations: 55.95 kB / 430.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1262, allocations: 373.4 kB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1266, allocations: 121.2 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1267, allocations: 49.77 kB / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1267, allocations: 3.938 kB / 431.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.1269, allocations: 143 kB / 431.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.127, allocations: 0 / 431.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005627/0.1275, allocations: 245.6 kB / 431.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.1276, allocations: 97.09 kB / 431.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1278, allocations: 170.3 kB / 431.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1279, allocations: 45.69 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.128, allocations: 104.6 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.128, allocations: 47.67 kB / 432 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.1281, allocations: 53.92 kB / 432 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1283, allocations: 330.8 kB / 432.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1285, allocations: 104.5 kB / 432.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.1287, allocations: 127.5 kB / 432.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1291, allocations: 211.4 kB / 432.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1291, allocations: 0 / 432.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005265/0.1296, allocations: 301.4 kB / 433.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1296, allocations: 8 kB / 433.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1296, allocations: 0 / 433.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1297, allocations: 0 / 433.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1298, allocations: 27.92 kB / 433.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1298, allocations: 4 kB / 433.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.1299, allocations: 19.89 kB / 433.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1299, allocations: 8 kB / 433.1 MB, free: 13.67 MB / 366.1 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.0001583/0.1301, allocations: 157.7 kB / 433.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1301, allocations: 15.91 kB / 433.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.1302, allocations: 9.406 kB / 433.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1302, allocations: 4 kB / 433.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1302, allocations: 0 / 433.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1302, allocations: 0 / 433.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1304, allocations: 213.5 kB / 433.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1304, allocations: 4 kB / 433.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.1304, allocations: 4 kB / 433.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1304, allocations: 4 kB / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1305, allocations: 7.922 kB / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1305, allocations: 0 / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1305, allocations: 3.938 kB / 433.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.1308, allocations: 225.7 kB / 433.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1309, allocations: 93.02 kB / 433.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1309, allocations: 8 kB / 433.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.131, allocations: 7.984 kB / 433.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1311, allocations: 15.92 kB / 433.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1311, allocations: 4 kB / 433.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1312, allocations: 132.2 kB / 434 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 434 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1315, allocations: 47.92 kB / 434.1 MB, free: 12.63 MB / 366.1 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.0005094/0.132, allocations: 211.6 kB / 434.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.1324, allocations: 175.9 kB / 434.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1324, allocations: 0 / 434.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1326, allocations: 55.95 kB / 434.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1328, allocations: 6.188 kB / 434.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.1333, allocations: 255.6 kB / 434.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1336, allocations: 0.712 MB / 435.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.1337, allocations: 16.88 kB / 435.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.1337, allocations: 15.44 kB / 435.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1337, allocations: 0 / 435.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.006412/0.1401, allocations: 1.989 MB / 437.5 MB, free: 9.176 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.925005067139864]