Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 47.92 kB / 368.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3441, allocations: 52.15 MB / 420.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002848/0.3469, allocations: 1.496 MB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3482, allocations: 0.5867 MB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.3483, allocations: 3.938 kB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3484, allocations: 7.875 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.3484, allocations: 23.8 kB / 423 MB, free: 12.93 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005996/0.349, allocations: 147.5 kB / 423.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3492, allocations: 111.7 kB / 423.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.3493, allocations: 8.922 kB / 423.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.3493, allocations: 43.84 kB / 423.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.35, allocations: 85.64 kB / 423.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.35, allocations: 8 kB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3502, allocations: 115.8 kB / 423.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.3503, allocations: 35.83 kB / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.3504, allocations: 55.67 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.3507, allocations: 193.7 kB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3507, allocations: 0 / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3507, allocations: 4 kB / 423.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3507, allocations: 0 / 423.8 MB, free: 12.15 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.0007295/0.3514, allocations: 466.5 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3515, allocations: 12.03 kB / 424.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.3518, allocations: 40.81 kB / 424.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.352, allocations: 192.2 kB / 424.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.352, allocations: 8.125 kB / 424.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.352, allocations: 11.94 kB / 424.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3523, allocations: 111.3 kB / 424.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3523, allocations: 0 / 424.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3523, allocations: 11.98 kB / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3523, allocations: 0 / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3525, allocations: 47.97 kB / 424.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.3532, allocations: 381.4 kB / 425 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.3535, allocations: 121.2 kB / 425.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3536, allocations: 53.75 kB / 425.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3536, allocations: 0 / 425.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.3539, allocations: 141 kB / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.3539, allocations: 4 kB / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005364/0.3544, allocations: 238.1 kB / 425.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3545, allocations: 89.11 kB / 425.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3547, allocations: 174.3 kB / 425.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.3547, allocations: 49.69 kB / 425.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.3548, allocations: 104.5 kB / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3549, allocations: 43.72 kB / 426 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.3549, allocations: 53.94 kB / 426.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3551, allocations: 342.7 kB / 426.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3553, allocations: 92.47 kB / 426.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3555, allocations: 133.8 kB / 426.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.3559, allocations: 215.4 kB / 426.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3559, allocations: 0 / 426.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004874/0.3563, allocations: 289.4 kB / 427.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3564, allocations: 8 kB / 427.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3564, allocations: 0 / 427.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3564, allocations: 7.984 kB / 427.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3565, allocations: 31.98 kB / 427.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3565, allocations: 7.922 kB / 427.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.3566, allocations: 19.89 kB / 427.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3566, allocations: 8 kB / 427.2 MB, free: 8.438 MB / 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.0001459/0.3568, allocations: 149.8 kB / 427.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3568, allocations: 15.91 kB / 427.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3569, allocations: 21.39 kB / 427.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3569, allocations: 0 / 427.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3569, allocations: 3.938 kB / 427.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3569, allocations: 0 / 427.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3571, allocations: 213.5 kB / 427.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3571, allocations: 0 / 427.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.3572, allocations: 11.98 kB / 427.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3572, allocations: 4 kB / 427.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3572, allocations: 3.938 kB / 427.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3572, allocations: 3.938 kB / 427.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3572, allocations: 7.938 kB / 427.6 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3576, allocations: 221.8 kB / 427.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.3576, allocations: 96.94 kB / 427.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.3577, allocations: 8 kB / 428 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.3577, allocations: 11.98 kB / 428 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.3578, allocations: 11.92 kB / 428 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3578, allocations: 8 kB / 428 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.3579, allocations: 132.2 kB / 428.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 0 / 428.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3582, allocations: 43.94 kB / 428.2 MB, free: 7.383 MB / 334.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.0004855/0.3587, allocations: 204.5 kB / 428.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3591, allocations: 175.8 kB / 428.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3591, allocations: 0 / 428.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3592, allocations: 55.95 kB / 428.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.3594, allocations: 12.12 kB / 428.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.3599, allocations: 259.5 kB / 428.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.3603, allocations: 0.7119 MB / 429.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.3604, allocations: 20.94 kB / 429.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.3604, allocations: 11.44 kB / 429.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3604, allocations: 4 kB / 429.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Templates: time 0.005666/0.3661, allocations: 2.001 MB / 431.6 MB, free: 3.902 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.770958449691534]