Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 119.3 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 213.3 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.563/1.563, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3639, allocations: 53.33 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002971/0.3669, allocations: 1.495 MB / 433.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3681, allocations: 0.6002 MB / 434.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.3682, allocations: 0 / 434.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.3683, allocations: 11.88 kB / 434.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.3683, allocations: 19.8 kB / 434.2 MB, free: 5.227 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006002/0.3689, allocations: 147.5 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3691, allocations: 111.7 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.3692, allocations: 5.125 kB / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.3692, allocations: 47.83 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.3699, allocations: 71.69 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3699, allocations: 8 kB / 434.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3701, allocations: 115.8 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.3702, allocations: 39.84 kB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.3703, allocations: 59.66 kB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3706, allocations: 196.8 kB / 435 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3706, allocations: 0 / 435 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3706, allocations: 0 / 435 MB, free: 4.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3707, allocations: 0 / 435 MB, free: 4.445 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.0007311/0.3714, allocations: 462.5 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3714, allocations: 8.031 kB / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.3718, allocations: 52.81 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3719, allocations: 188.2 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.372, allocations: 12.36 kB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.372, allocations: 4.375 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.3722, allocations: 119.4 kB / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3722, allocations: 0 / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3723, allocations: 0 / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3723, allocations: 0 / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3724, allocations: 63.95 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.3731, allocations: 369.5 kB / 436.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.3735, allocations: 125.1 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3736, allocations: 49.75 kB / 436.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3736, allocations: 3.984 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.3739, allocations: 143.8 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3739, allocations: 0 / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005523/0.3744, allocations: 245.6 kB / 436.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.3745, allocations: 97.03 kB / 436.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3747, allocations: 174.3 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.3747, allocations: 53.62 kB / 437.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3748, allocations: 100.6 kB / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.3748, allocations: 47.67 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.3749, allocations: 53.92 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3751, allocations: 330.8 kB / 437.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3753, allocations: 100.5 kB / 437.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3755, allocations: 132.4 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3758, allocations: 206.9 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3758, allocations: 0 / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004887/0.3763, allocations: 289.5 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3764, allocations: 12 kB / 438.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3764, allocations: 0 / 438.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3764, allocations: 0 / 438.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3765, allocations: 27.92 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3765, allocations: 4 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.3766, allocations: 23.83 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3766, allocations: 8 kB / 438.4 MB, free: 0.7344 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.0001622/0.3768, allocations: 157.7 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.3768, allocations: 15.91 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.3769, allocations: 13.39 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3769, allocations: 4 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3769, allocations: 0 / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3769, allocations: 0 / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3771, allocations: 205.5 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3771, allocations: 7.938 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.3771, allocations: 7.984 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3771, allocations: 4 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3772, allocations: 8 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3772, allocations: 0 / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3772, allocations: 0 / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3775, allocations: 225.7 kB / 439 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.3776, allocations: 92.95 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.3777, allocations: 15.98 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.3777, allocations: 4 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.3778, allocations: 11.98 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3778, allocations: 4.094 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.3779, allocations: 140.2 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.3782, allocations: 43.94 kB / 439.3 MB, free: 15.7 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.0004852/0.3787, allocations: 206 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.3791, allocations: 183.8 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3791, allocations: 0 / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3792, allocations: 51.97 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.3794, allocations: 15.42 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.3799, allocations: 281.4 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3803, allocations: 0.708 MB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.3803, allocations: 23.42 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3803, allocations: 0 / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.004796/0.3851, allocations: 2.318 MB / 443.1 MB, free: 11.88 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.656243826728314]