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.001581/0.001581, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001734/0.001734, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001561/0.001561, allocations: 52.02 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003113/0.3273, allocations: 1.503 MB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3287, allocations: 0.6002 MB / 434.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3287, allocations: 4 kB / 434.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.3288, allocations: 11.86 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.3289, allocations: 15.81 kB / 434.5 MB, free: 4.816 MB / 334.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.0006396/0.3296, allocations: 155.5 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3297, allocations: 111.7 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.3298, allocations: 13.09 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.3299, allocations: 43.84 kB / 434.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.3305, allocations: 81.31 kB / 434.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.3306, allocations: 11.94 kB / 434.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.3309, allocations: 147.8 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.3309, allocations: 35.89 kB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.331, allocations: 55.67 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.3314, allocations: 193.7 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3314, allocations: 4 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3314, allocations: 0 / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3314, allocations: 4 kB / 435.4 MB, free: 3.988 MB / 334.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.0007216/0.3321, allocations: 385.4 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3322, allocations: 8.031 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.3325, allocations: 40.81 kB / 435.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3326, allocations: 138.4 kB / 435.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3327, allocations: 4.375 kB / 435.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3327, allocations: 12.36 kB / 435.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3329, allocations: 115.4 kB / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3329, allocations: 4 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3329, allocations: 0 / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.333, allocations: 4 kB / 436.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.3331, allocations: 59.89 kB / 436.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.3338, allocations: 348.5 kB / 436.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.3341, allocations: 113.2 kB / 436.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3342, allocations: 53.75 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3343, allocations: 4 kB / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.3345, allocations: 137 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3345, allocations: 0 / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005414/0.3351, allocations: 241.6 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.3352, allocations: 93.09 kB / 437.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3353, allocations: 178.2 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.3354, allocations: 49.69 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.3355, allocations: 104.6 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3355, allocations: 39.69 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.3356, allocations: 57.92 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3358, allocations: 338.8 kB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.336, allocations: 92.47 kB / 437.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.3362, allocations: 132.4 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.3365, allocations: 211.4 kB / 438.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3365, allocations: 0 / 438.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004947/0.337, allocations: 289.4 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.337, allocations: 8 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3371, allocations: 0 / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3371, allocations: 0 / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3372, allocations: 31.92 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3372, allocations: 8.453 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.3373, allocations: 23.84 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3373, allocations: 8.047 kB / 438.6 MB, free: 496 kB / 334.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.0001592/0.3375, allocations: 153.8 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.3375, allocations: 19.91 kB / 438.8 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3375, allocations: 17.39 kB / 438.8 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3376, allocations: 0 / 438.8 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3376, allocations: 3.938 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3376, allocations: 0 / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3378, allocations: 180.6 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3378, allocations: 4 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.3378, allocations: 7.984 kB / 439 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3378, allocations: 4 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3378, allocations: 0 / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3378, allocations: 0 / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3378, allocations: 4 kB / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3382, allocations: 225.7 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3383, allocations: 15.84 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.3383, allocations: 19.92 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.3383, allocations: 4 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3384, allocations: 11.98 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3384, allocations: 7.984 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.3385, allocations: 132.2 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3385, allocations: 0 / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3388, allocations: 47.94 kB / 439.5 MB, free: 15.57 MB / 350.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.0004807/0.3393, allocations: 206.8 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3397, allocations: 191.9 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3397, allocations: 0 / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3398, allocations: 47.97 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.34, allocations: 8 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.3405, allocations: 277.6 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3409, allocations: 0.712 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.3409, allocations: 15.44 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3409, allocations: 0 / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004954/0.3459, allocations: 2.326 MB / 443.2 MB, free: 11.76 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 7.641489956062287]