Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.002642/0.002642, allocations: 103.5 kB / 21.73 MB, free: 2.688 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.002903/0.002903, allocations: 163.2 kB / 25.03 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.494e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003115/0.00315, allocations: 1.493 MB / 251.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004501, allocations: 0.5614 MB / 252.4 MB, free: 5.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.004551, allocations: 0 / 252.4 MB, free: 5.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.004665, allocations: 7.875 kB / 252.4 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.004744, allocations: 23.73 kB / 252.4 MB, free: 5.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.00537, allocations: 163.4 kB / 252.6 MB, free: 5.578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005558, allocations: 119.6 kB / 252.7 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.005601, allocations: 9.312 kB / 252.7 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.005714, allocations: 67.86 kB / 252.8 MB, free: 5.387 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.005788, allocations: 47.81 kB / 252.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.005817, allocations: 8 kB / 252.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.006152, allocations: 159.7 kB / 253 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.006221, allocations: 31.91 kB / 253 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.006283, allocations: 35.84 kB / 253.1 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.006683, allocations: 235.2 kB / 253.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006686, allocations: 0 / 253.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006687, allocations: 0 / 253.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.006692, allocations: 0 / 253.3 MB, free: 4.879 MB / 234.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.000777/0.00747, allocations: 499.3 kB / 253.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.00751, allocations: 11.98 kB / 253.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.007866, allocations: 44.81 kB / 253.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.008052, allocations: 144.4 kB / 254 MB, free: 4.129 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.008074, allocations: 4.375 kB / 254 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.008094, allocations: 8.375 kB / 254 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.008316, allocations: 97.47 kB / 254.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.008324, allocations: 192 / 254.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.008335, allocations: 4.375 kB / 254.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.00834, allocations: 4.375 kB / 254.1 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.008507, allocations: 47.89 kB / 254.1 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.009247, allocations: 367.3 kB / 254.5 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.009562, allocations: 110.2 kB / 254.6 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.009665, allocations: 43.42 kB / 254.7 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.009681, allocations: 4 kB / 254.7 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.009965, allocations: 140.2 kB / 254.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.009966, allocations: 0 / 254.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006938/0.01066, allocations: 181.5 kB / 255 MB, free: 3.023 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.01077, allocations: 93.08 kB / 255.1 MB, free: 2.914 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.01113, allocations: 249.8 kB / 255.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.01121, allocations: 49.69 kB / 255.4 MB, free: 2.598 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.01136, allocations: 151.4 kB / 255.5 MB, free: 2.445 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.01145, allocations: 59.56 kB / 255.6 MB, free: 2.387 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.01163, allocations: 75.58 kB / 255.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003899/0.01202, allocations: 0.5118 MB / 256.1 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.01221, allocations: 52.48 kB / 256.2 MB, free: 1.727 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.01252, allocations: 100 kB / 256.3 MB, free: 1.613 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.01297, allocations: 143.5 kB / 256.4 MB, free: 1.461 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01297, allocations: 4 kB / 256.4 MB, free: 1.457 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000714/0.01369, allocations: 229.4 kB / 256.7 MB, free: 1.227 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01371, allocations: 4 kB / 256.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.01372, allocations: 0 / 256.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.01374, allocations: 4 kB / 256.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.014, allocations: 39.98 kB / 256.7 MB, free: 1.18 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.01401, allocations: 0 / 256.7 MB, free: 1.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01413, allocations: 19.84 kB / 256.7 MB, free: 1.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.01417, allocations: 15.92 kB / 256.7 MB, free: 1.145 MB / 234.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.0002487/0.01442, allocations: 184.6 kB / 256.9 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.01448, allocations: 23.83 kB / 256.9 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.01453, allocations: 13.47 kB / 257 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01453, allocations: 0 / 257 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01454, allocations: 0 / 257 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.01455, allocations: 8 kB / 257 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.01483, allocations: 152.6 kB / 257.1 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01483, allocations: 0 / 257.1 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.01489, allocations: 12.03 kB / 257.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.0149, allocations: 3.984 kB / 257.1 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.01492, allocations: 11.92 kB / 257.1 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.01492, allocations: 8 kB / 257.2 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01493, allocations: 0 / 257.2 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.01546, allocations: 203.9 kB / 257.4 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.01551, allocations: 15.91 kB / 257.4 MB, free: 452 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.01556, allocations: 11.92 kB / 257.4 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.01564, allocations: 4 kB / 257.4 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.01572, allocations: 15.92 kB / 257.4 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.01574, allocations: 4 kB / 257.4 MB, free: 416 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.01597, allocations: 180.1 kB / 257.6 MB, free: 236 kB / 234.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01597, allocations: 0 / 257.6 MB, free: 236 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005084/0.01647, allocations: 51.94 kB / 257.6 MB, free: 184 kB / 234.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.001034/0.01751, allocations: 232.8 kB / 257.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005472/0.01806, allocations: 144 kB / 258 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.01806, allocations: 0 / 258 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.01825, allocations: 55.59 kB / 258.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.01861, allocations: 27.88 kB / 258.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.01932, allocations: 256.9 kB / 258.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.01947, allocations: 101.9 kB / 258.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.01961, allocations: 12.97 kB / 258.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.01967, allocations: 20.5 kB / 258.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01967, allocations: 0 / 258.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of Templates: time 0.00913/0.0288, allocations: 2.369 MB / 260.8 MB, free: 12.95 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.623936359072104]