Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009783/0.0009783, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001044/0.001044, allocations: 162.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9763/0.9763, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.626e-05, allocations: 3.562 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001987/0.002003, allocations: 1.519 MB / 275.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.002861, allocations: 0.5839 MB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.002903, allocations: 0 / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.831e-05/0.002991, allocations: 9.781 kB / 276.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.003052, allocations: 31.72 kB / 276.3 MB, free: 2.129 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004036/0.003455, allocations: 151.4 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.003575, allocations: 119.6 kB / 276.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.003609, allocations: 11.52 kB / 276.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.003672, allocations: 59.88 kB / 276.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.004002, allocations: 79.39 kB / 276.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.004022, allocations: 8 kB / 276.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.004214, allocations: 143.7 kB / 276.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.00426, allocations: 31.91 kB / 276.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.004301, allocations: 36.78 kB / 276.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.004534, allocations: 175.5 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004536, allocations: 0.625 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004536, allocations: 0 / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004541, allocations: 2.312 kB / 277.1 MB, free: 1.348 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.0004886/0.00503, allocations: 491.6 kB / 277.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.005065, allocations: 8.031 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.005268, allocations: 48.75 kB / 277.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.005373, allocations: 153.1 kB / 277.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.00539, allocations: 9.703 kB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.005401, allocations: 8.375 kB / 277.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.00558, allocations: 77.53 kB / 277.8 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005589, allocations: 1.156 kB / 277.8 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.005598, allocations: 384 / 277.8 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005604, allocations: 1.031 kB / 277.8 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.00564, allocations: 27.86 kB / 277.9 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.006029, allocations: 332 kB / 278.2 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.006152, allocations: 86.2 kB / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.006177, allocations: 27.31 kB / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.006185, allocations: 0 / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.006309, allocations: 112.4 kB / 278.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 8.32e-07/0.00631, allocations: 0 / 278.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002662/0.006576, allocations: 141.5 kB / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.006627, allocations: 97.03 kB / 278.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.006747, allocations: 238.5 kB / 278.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.006775, allocations: 45.69 kB / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.00685, allocations: 151.3 kB / 279.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.006887, allocations: 51.66 kB / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.006948, allocations: 59.56 kB / 279.2 MB, free: 15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.007167, allocations: 0.5001 MB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.007208, allocations: 28.5 kB / 279.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.007266, allocations: 73.42 kB / 279.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.00736, allocations: 107.5 kB / 279.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007362, allocations: 0 / 279.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001655/0.007527, allocations: 169.4 kB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007538, allocations: 7.938 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007545, allocations: 0 / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007557, allocations: 4 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.007671, allocations: 39.92 kB / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007676, allocations: 480 / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.007711, allocations: 23.84 kB / 280.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.007726, allocations: 11.98 kB / 280.1 MB, free: 14 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 9.335e-05/0.007819, allocations: 184.6 kB / 280.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.007836, allocations: 15.91 kB / 280.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.007864, allocations: 21.39 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.007865, allocations: 0 / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.007867, allocations: 0 / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007872, allocations: 4 kB / 280.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.007968, allocations: 121.2 kB / 280.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007969, allocations: 4 kB / 280.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.007986, allocations: 8 kB / 280.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007987, allocations: 0 / 280.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007996, allocations: 11.98 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.007997, allocations: 0 / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.007999, allocations: 4.031 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.00815, allocations: 175.9 kB / 280.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.008166, allocations: 19.83 kB / 280.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.008187, allocations: 12 kB / 280.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.008207, allocations: 0 / 280.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.008244, allocations: 19.84 kB / 280.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.008252, allocations: 8 kB / 280.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.746e-05/0.008309, allocations: 163.1 kB / 280.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008309, allocations: 0 / 280.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.008502, allocations: 47.92 kB / 280.9 MB, free: 13.12 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.0005564/0.009058, allocations: 205.8 kB / 281.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.009213, allocations: 100.4 kB / 281.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009214, allocations: 0 / 281.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.009256, allocations: 35.67 kB / 281.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.00941, allocations: 15.98 kB / 281.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.009687, allocations: 238 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.009722, allocations: 79.19 kB / 281.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.009761, allocations: 21.03 kB / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.009815, allocations: 78.2 kB / 281.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009816, allocations: 0 / 281.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Templates: time 0.004134/0.01395, allocations: 2.475 MB / 284.2 MB, free: 9.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8224956090562046]