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.0009566/0.0009566, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001096/0.001096, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.567e-05, allocations: 5.266 kB / 273.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001768/0.001784, allocations: 1.507 MB / 275 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.002564, allocations: 0.6024 MB / 275.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.002604, allocations: 0 / 275.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.713e-05/0.002692, allocations: 11.81 kB / 275.6 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.002751, allocations: 23.8 kB / 275.6 MB, free: 2.285 MB / 250.7 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.0004316/0.003183, allocations: 147.4 kB / 275.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003299, allocations: 116.6 kB / 275.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.003332, allocations: 5.969 kB / 275.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.003398, allocations: 68.39 kB / 275.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.00371, allocations: 84.91 kB / 276 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.003732, allocations: 8 kB / 276 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.003926, allocations: 148.5 kB / 276.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.003965, allocations: 31.91 kB / 276.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.004, allocations: 37.31 kB / 276.2 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.004221, allocations: 183.4 kB / 276.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004223, allocations: 0 / 276.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004223, allocations: 0 / 276.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.004226, allocations: 0.8438 kB / 276.4 MB, free: 1.488 MB / 250.7 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.0003641/0.00459, allocations: 344 kB / 276.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004622, allocations: 12.69 kB / 276.8 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.004806, allocations: 51.19 kB / 276.8 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004909, allocations: 151 kB / 277 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004923, allocations: 8.375 kB / 277 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.004935, allocations: 4.375 kB / 277 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005042, allocations: 89.06 kB / 277.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005049, allocations: 4.125 kB / 277.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005057, allocations: 8.125 kB / 277.1 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005062, allocations: 0 / 277.1 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.005092, allocations: 17.66 kB / 277.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.00536, allocations: 214.7 kB / 277.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.00545, allocations: 105 kB / 277.4 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.005474, allocations: 25.7 kB / 277.4 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.005481, allocations: 4 kB / 277.4 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.005581, allocations: 103.9 kB / 277.5 MB, free: 252 kB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.61e-07/0.005582, allocations: 0 / 277.5 MB, free: 252 kB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001319/0.005714, allocations: 111.2 kB / 277.6 MB, free: 132 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.005759, allocations: 93.09 kB / 277.7 MB, free: 20 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.005856, allocations: 170.6 kB / 277.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.005882, allocations: 45.69 kB / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.005918, allocations: 96.61 kB / 278 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.005946, allocations: 43.66 kB / 278.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.005997, allocations: 53.91 kB / 278.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.00608, allocations: 338.8 kB / 278.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.006142, allocations: 35.33 kB / 278.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.006214, allocations: 51.58 kB / 278.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.006343, allocations: 104.6 kB / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.006346, allocations: 0 / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001727/0.006519, allocations: 144.8 kB / 278.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.006535, allocations: 7.984 kB / 278.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.006541, allocations: 0 / 278.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.006551, allocations: 4 kB / 278.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.006659, allocations: 47.98 kB / 278.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006662, allocations: 0 / 278.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.006696, allocations: 19.88 kB / 278.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.006706, allocations: 8 kB / 278.9 MB, free: 14.8 MB / 266.7 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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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 7.811e-05/0.006785, allocations: 136.6 kB / 279 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.006801, allocations: 19.92 kB / 279 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.006822, allocations: 9.469 kB / 279 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.006825, allocations: 4 kB / 279 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006826, allocations: 0 / 279 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00683, allocations: 7.984 kB / 279.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.531e-05/0.006916, allocations: 89.81 kB / 279.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006917, allocations: 4 kB / 279.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.006933, allocations: 11.98 kB / 279.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006934, allocations: 0 / 279.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.006939, allocations: 0 / 279.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.006942, allocations: 3.938 kB / 279.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006943, allocations: 4 kB / 279.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.007036, allocations: 118.3 kB / 279.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.00705, allocations: 19.98 kB / 279.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.007067, allocations: 8 kB / 279.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.00709, allocations: 15.91 kB / 279.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.007119, allocations: 15.92 kB / 279.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.007123, allocations: 0 / 279.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.007154, allocations: 41.81 kB / 279.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007154, allocations: 0 / 279.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.0073, allocations: 47.94 kB / 279.4 MB, free: 14.2 MB / 266.7 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.0003228/0.007623, allocations: 223.3 kB / 279.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.007737, allocations: 88.69 kB / 279.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007739, allocations: 4 kB / 279.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.007772, allocations: 24.84 kB / 279.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.374e-05/0.007866, allocations: 20.11 kB / 279.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.008124, allocations: 237.9 kB / 280 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.008158, allocations: 75.16 kB / 280.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.008193, allocations: 16.95 kB / 280.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.008246, allocations: 63.38 kB / 280.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008246, allocations: 0 / 280.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Templates: time 0.003558/0.0118, allocations: 2.375 MB / 282.5 MB, free: 11.09 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.631983681116253]