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.001657/0.001657, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001352/0.001352, allocations: 162.8 kB / 24.99 MB, free: 8.801 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 1.068/1.068, allocations: 177 MB / 205.2 MB, free: 5.594 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 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.883e-05, allocations: 5.125 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002082/0.002101, allocations: 1.523 MB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.003066, allocations: 0.5762 MB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.003119, allocations: 4 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.306e-05/0.003212, allocations: 7.875 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.003277, allocations: 31.72 kB / 275.1 MB, free: 15.59 MB / 266.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.0005835/0.00386, allocations: 151.4 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003992, allocations: 115.6 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.004033, allocations: 5.312 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.004107, allocations: 67.86 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.004485, allocations: 79.55 kB / 275.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.004513, allocations: 8 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.004733, allocations: 143.7 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.00478, allocations: 27.91 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.004828, allocations: 35.84 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.005102, allocations: 191.4 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005104, allocations: 0 / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005105, allocations: 0 / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005109, allocations: 0 / 275.9 MB, free: 14.79 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.0005092/0.005618, allocations: 479.7 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.005652, allocations: 11.98 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.005896, allocations: 52.75 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.006038, allocations: 153.1 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.006056, allocations: 4.375 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.006074, allocations: 16.36 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.006218, allocations: 88.19 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006225, allocations: 192 / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006236, allocations: 4.375 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006243, allocations: 4.312 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.006294, allocations: 23.92 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.006763, allocations: 351.2 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.006882, allocations: 78.17 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.00692, allocations: 35.42 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.006927, allocations: 7.938 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.00706, allocations: 112.5 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.007062, allocations: 0 / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002662/0.007328, allocations: 153.9 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.007394, allocations: 97.03 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007533, allocations: 237.8 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.007559, allocations: 37.7 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.007628, allocations: 155.3 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.007661, allocations: 43.69 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.007726, allocations: 67.58 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.00786, allocations: 0.4962 MB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.007927, allocations: 40.48 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.008011, allocations: 76.56 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.00814, allocations: 119.5 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008142, allocations: 4 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002161/0.008358, allocations: 185.4 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.008373, allocations: 8 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.00838, allocations: 0 / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008395, allocations: 0 / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.008524, allocations: 43.97 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.00853, allocations: 3.938 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.008572, allocations: 23.83 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.008585, allocations: 15.98 kB / 279.1 MB, free: 11.33 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.0001051/0.00869, allocations: 184.7 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.008718, allocations: 23.84 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.008748, allocations: 17.45 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.008751, allocations: 3.938 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.008757, allocations: 4 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.008763, allocations: 4 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.008908, allocations: 140.5 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00891, allocations: 0 / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.008933, allocations: 11.98 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008935, allocations: 4 kB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.00895, allocations: 7.938 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.008952, allocations: 4 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008954, allocations: 0 / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.00913, allocations: 168 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.009151, allocations: 23.84 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.009172, allocations: 11.88 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.009198, allocations: 7.984 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.009248, allocations: 11.98 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.009253, allocations: 4 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.009325, allocations: 159.1 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009325, allocations: 7.938 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00021/0.009535, allocations: 43.94 kB / 279.9 MB, free: 10.43 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.0003973/0.009932, allocations: 218.6 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.01013, allocations: 107.6 kB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01013, allocations: 0 / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.01018, allocations: 39.61 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.01035, allocations: 15.98 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.0107, allocations: 249.8 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01074, allocations: 63.47 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01078, allocations: 25.03 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01082, allocations: 16.5 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01082, allocations: 0 / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of Templates: time 0.004383/0.0152, allocations: 2.216 MB / 282.9 MB, free: 7.465 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: 3.0206086388789117]