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.001403/0.001403, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001752/0.001752, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 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 1.823e-06/1.823e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.81e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002789/0.002817, allocations: 1.486 MB / 273.8 MB, free: 308 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004132, allocations: 0.5691 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.004183, allocations: 4 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.004275, allocations: 11.86 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.004343, allocations: 19.8 kB / 274.4 MB, free: 15.69 MB / 266.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.0005842/0.004927, allocations: 155.4 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.005097, allocations: 115.6 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.005136, allocations: 9.312 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.005239, allocations: 63.88 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.005853, allocations: 72.31 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.005884, allocations: 12 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.006182, allocations: 139.6 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.006243, allocations: 35.84 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.006307, allocations: 35.89 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.006691, allocations: 215.3 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.006697, allocations: 4 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006698, allocations: 0 / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.006703, allocations: 0 / 275.3 MB, free: 14.86 MB / 266.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.0006861/0.007389, allocations: 385.4 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.007425, allocations: 8.031 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.00776, allocations: 44.75 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.007946, allocations: 141.6 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.007966, allocations: 8.359 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.007991, allocations: 12.38 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.008238, allocations: 111.9 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.008245, allocations: 192 / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.008261, allocations: 12.11 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.008266, allocations: 0 / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.008473, allocations: 63.89 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.009127, allocations: 285.2 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.009475, allocations: 125.1 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.00959, allocations: 49.75 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.009604, allocations: 7.938 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.009885, allocations: 145 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.009886, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000596/0.01048, allocations: 237.6 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.01056, allocations: 93.05 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.01079, allocations: 186.2 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.01084, allocations: 49.69 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.01093, allocations: 100.6 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.01099, allocations: 47.67 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.01108, allocations: 53.94 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01128, allocations: 330.8 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.01149, allocations: 96.47 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.01172, allocations: 132.4 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.01218, allocations: 211.5 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01218, allocations: 0 / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005673/0.01275, allocations: 297.4 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01277, allocations: 8 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.01278, allocations: 3.984 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01279, allocations: 0 / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.01296, allocations: 31.98 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.01296, allocations: 4 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.01305, allocations: 23.78 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.01307, allocations: 12 kB / 278.5 MB, free: 11.38 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,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.000166/0.01323, allocations: 141.8 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.01327, allocations: 23.83 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.01331, allocations: 13.47 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01331, allocations: 96 / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.01332, allocations: 8 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.01332, allocations: 3.984 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01351, allocations: 145.2 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01352, allocations: 0 / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.01356, allocations: 7.938 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.01357, allocations: 7.984 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01358, allocations: 4 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01359, allocations: 0 / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01359, allocations: 0 / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.01401, allocations: 225.4 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01404, allocations: 19.84 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.01408, allocations: 11.98 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.01414, allocations: 4 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.01419, allocations: 7.984 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01421, allocations: 11.98 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01433, allocations: 124.2 kB / 279.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01433, allocations: 0 / 279.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.01463, allocations: 47.88 kB / 279.3 MB, free: 10.54 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.0005406/0.01517, allocations: 212.1 kB / 279.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.0156, allocations: 184.4 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.0156, allocations: 7.938 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01574, allocations: 43.98 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01597, allocations: 19.92 kB / 279.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.01661, allocations: 257.4 kB / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.01673, allocations: 101.7 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.01678, allocations: 17.09 kB / 280.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.01683, allocations: 20.5 kB / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01683, allocations: 0 / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of Templates: time 0.006238/0.02307, allocations: 2.228 MB / 282.4 MB, free: 7.453 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=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.442273707012646]