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.0026/0.0026, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002576/0.002576, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.534/1.534, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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 2.916e-06/2.916e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.381e-05/4.673e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003669/0.003716, allocations: 1.487 MB / 326.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.005062, allocations: 0.5763 MB / 327.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.005133, allocations: 0 / 327.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.00525, allocations: 14.42 kB / 327.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.005334, allocations: 19.88 kB / 327.2 MB, free: 15.12 MB / 302.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.000863/0.006197, allocations: 154.8 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.006477, allocations: 120.2 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.006558, allocations: 6.562 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.006717, allocations: 64.72 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.00761, allocations: 62.25 kB / 327.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.007657, allocations: 10.31 kB / 327.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.008102, allocations: 141.7 kB / 327.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.008174, allocations: 28.98 kB / 327.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.008247, allocations: 43.98 kB / 327.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.008684, allocations: 213.1 kB / 328 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008688, allocations: 0 / 328 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008689, allocations: 0 / 328 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.008701, allocations: 0 / 328 MB, free: 14.77 MB / 302.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.0007876/0.009489, allocations: 386.4 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.009534, allocations: 9.312 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.009899, allocations: 34.8 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.0101, allocations: 144 kB / 328.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.01012, allocations: 8.906 kB / 328.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.01014, allocations: 5.172 kB / 328.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.0104, allocations: 114.1 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.01041, allocations: 1.312 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.01043, allocations: 8.688 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.01044, allocations: 1.281 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01062, allocations: 52.08 kB / 328.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.01131, allocations: 302.7 kB / 329 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.01166, allocations: 113 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01178, allocations: 52.31 kB / 329.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.01179, allocations: 2.125 kB / 329.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.01209, allocations: 148.7 kB / 329.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.0121, allocations: 4.969 kB / 329.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005797/0.01268, allocations: 234.6 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.01276, allocations: 87.78 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.01297, allocations: 174.4 kB / 329.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.01303, allocations: 47.58 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.01313, allocations: 112.9 kB / 330 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.01318, allocations: 42.88 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.01329, allocations: 62.78 kB / 330.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.01354, allocations: 329.7 kB / 330.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.01374, allocations: 97.48 kB / 330.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.01398, allocations: 129.1 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.0144, allocations: 208.4 kB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.0144, allocations: 4 kB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006056/0.01501, allocations: 301.2 kB / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.01503, allocations: 6.531 kB / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.01503, allocations: 0 / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.01506, allocations: 2.188 kB / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.01522, allocations: 32.28 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01523, allocations: 2.938 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.843e-05/0.01532, allocations: 27.38 kB / 331.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.01535, allocations: 6.484 kB / 331.2 MB, free: 12.57 MB / 302.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.0001682/0.01551, allocations: 152.7 kB / 331.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01554, allocations: 13.48 kB / 331.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.01558, allocations: 16.86 kB / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01558, allocations: 1.156 kB / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01559, allocations: 1.062 kB / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01559, allocations: 0 / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01579, allocations: 141 kB / 331.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01579, allocations: 0 / 331.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.01584, allocations: 10.91 kB / 331.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01584, allocations: 0 / 331.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01585, allocations: 6.312 kB / 331.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01586, allocations: 5.109 kB / 331.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01586, allocations: 0 / 331.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.01626, allocations: 220.6 kB / 331.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.01629, allocations: 20.67 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.01632, allocations: 11.22 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.01638, allocations: 7.484 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.01644, allocations: 12.48 kB / 331.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.01645, allocations: 3.375 kB / 331.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01657, allocations: 126.4 kB / 331.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01657, allocations: 0 / 331.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.01691, allocations: 50.7 kB / 332 MB, free: 11.98 MB / 302.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.0005781/0.01749, allocations: 232.7 kB / 332.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.01804, allocations: 175.2 kB / 332.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01804, allocations: 0 / 332.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.01828, allocations: 52.22 kB / 332.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01856, allocations: 12.81 kB / 332.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.01909, allocations: 261.2 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.0192, allocations: 101.6 kB / 332.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.01925, allocations: 15.16 kB / 332.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.0193, allocations: 18.83 kB / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.0193, allocations: 0 / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Templates: time 0.00732/0.02662, allocations: 2.047 MB / 334.9 MB, free: 10.36 MB / 302.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.7098433598876]