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.001663/0.001663, allocations: 81.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001894/0.001894, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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.498/1.498, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001916/0.001916, allocations: 61.78 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1387, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.004089/0.1428, allocations: 1.489 MB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1443, allocations: 0.5667 MB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1444, allocations: 4 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.1445, allocations: 7.875 kB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.1446, allocations: 19.8 kB / 381 MB, free: 13.38 MB / 350.1 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.0006922/0.1453, allocations: 147.6 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1455, allocations: 119.7 kB / 381.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.1455, allocations: 5.312 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1456, allocations: 55.77 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.1463, allocations: 73.53 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.1464, allocations: 12 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.1467, allocations: 135.8 kB / 381.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.1468, allocations: 35.84 kB / 381.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1469, allocations: 47.72 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.1473, allocations: 195.3 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1473, allocations: 0 / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1473, allocations: 4 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1473, allocations: 0 / 381.8 MB, free: 12.57 MB / 350.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.0008282/0.1481, allocations: 385.4 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.1482, allocations: 11.98 kB / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.1485, allocations: 44.81 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1487, allocations: 146.2 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1488, allocations: 4.375 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1488, allocations: 8.375 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.149, allocations: 111.9 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1491, allocations: 192 / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1491, allocations: 7.922 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1491, allocations: 4 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.1493, allocations: 55.91 kB / 382.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.1499, allocations: 293.3 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.1503, allocations: 125.1 kB / 383 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1504, allocations: 49.75 kB / 383 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1504, allocations: 3.938 kB / 383 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.1508, allocations: 144.3 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.1508, allocations: 0 / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005784/0.1514, allocations: 233.6 kB / 383.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.1515, allocations: 101 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1517, allocations: 182.2 kB / 383.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.1518, allocations: 49.69 kB / 383.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.1519, allocations: 96.64 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.1519, allocations: 47.67 kB / 383.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.152, allocations: 53.92 kB / 383.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002686/0.1523, allocations: 326.8 kB / 384.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.1525, allocations: 100.5 kB / 384.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1527, allocations: 132.7 kB / 384.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1531, allocations: 206.9 kB / 384.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1531, allocations: 7.938 kB / 384.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005012/0.1536, allocations: 289.4 kB / 385 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1536, allocations: 4 kB / 385 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1536, allocations: 4.062 kB / 385 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1536, allocations: 7.938 kB / 385 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1538, allocations: 27.98 kB / 385 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1538, allocations: 3.938 kB / 385 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.1539, allocations: 23.83 kB / 385 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1539, allocations: 8 kB / 385 MB, free: 9.109 MB / 350.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.0001699/0.154, allocations: 149.8 kB / 385.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1541, allocations: 11.91 kB / 385.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1541, allocations: 21.45 kB / 385.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1541, allocations: 3.938 kB / 385.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1541, allocations: 0 / 385.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1541, allocations: 7.938 kB / 385.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1543, allocations: 137.2 kB / 385.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1543, allocations: 4 kB / 385.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.1544, allocations: 7.984 kB / 385.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1544, allocations: 0 / 385.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1544, allocations: 8 kB / 385.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1544, allocations: 0 / 385.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1544, allocations: 4 kB / 385.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1548, allocations: 225.7 kB / 385.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1548, allocations: 15.89 kB / 385.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1549, allocations: 12 kB / 385.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.1549, allocations: 7.984 kB / 385.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.155, allocations: 15.92 kB / 385.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.155, allocations: 4 kB / 385.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1551, allocations: 124.2 kB / 385.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1551, allocations: 0 / 385.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1554, allocations: 55.92 kB / 385.8 MB, free: 8.246 MB / 350.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.0005462/0.156, allocations: 204 kB / 386 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.1564, allocations: 175.8 kB / 386.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1564, allocations: 0 / 386.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1565, allocations: 59.84 kB / 386.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.1567, allocations: 7.938 kB / 386.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1573, allocations: 247.9 kB / 386.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.1574, allocations: 105.9 kB / 386.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1575, allocations: 16.97 kB / 386.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.1575, allocations: 16.44 kB / 386.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1575, allocations: 0 / 386.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Templates: time 0.006637/0.1641, allocations: 2.028 MB / 388.7 MB, free: 5.371 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.60844800400082]