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.0009523/0.0009523, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001146/0.001146, allocations: 173.3 kB / 25.33 MB, free: 9.027 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 0.9531/0.9531, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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 2.845e-06/2.845e-06, allocations: 0 / 251 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.65e-05, allocations: 2.312 kB / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002804/0.002841, allocations: 1.518 MB / 252.6 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.003883, allocations: 0.5653 MB / 253.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.003943, allocations: 0 / 253.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.004056, allocations: 7.875 kB / 253.1 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.004128, allocations: 23.73 kB / 253.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.004933, allocations: 163.4 kB / 253.3 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.005102, allocations: 119.6 kB / 253.4 MB, free: 1.215 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.005156, allocations: 9.312 kB / 253.4 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.005245, allocations: 63.88 kB / 253.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.005306, allocations: 51.8 kB / 253.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.005334, allocations: 8 kB / 253.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.005643, allocations: 163.6 kB / 253.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.005712, allocations: 35.89 kB / 253.8 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.005767, allocations: 35.86 kB / 253.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.006091, allocations: 199.4 kB / 254 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.006095, allocations: 0 / 254 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006097, allocations: 3.938 kB / 254 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006103, allocations: 0 / 254 MB, free: 0.6562 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.0005997/0.006702, allocations: 483.7 kB / 254.5 MB, free: 148 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.006744, allocations: 11.98 kB / 254.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.006984, allocations: 48.8 kB / 254.5 MB, free: 88 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.00714, allocations: 153.1 kB / 254.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.007162, allocations: 8.312 kB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.00718, allocations: 12.36 kB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.007339, allocations: 93.52 kB / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.007346, allocations: 192 / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.007357, allocations: 384 / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.007364, allocations: 384 / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.00741, allocations: 19.92 kB / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.007929, allocations: 351.3 kB / 255.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.008063, allocations: 94.16 kB / 255.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.008098, allocations: 23.38 kB / 255.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.008108, allocations: 4 kB / 255.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.008261, allocations: 124.2 kB / 255.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.008262, allocations: 0 / 255.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002758/0.008538, allocations: 153.6 kB / 255.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.008603, allocations: 93.09 kB / 255.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008737, allocations: 225.8 kB / 255.8 MB, free: 14.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.008767, allocations: 45.69 kB / 255.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.008832, allocations: 151.4 kB / 256 MB, free: 14.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.00887, allocations: 47.69 kB / 256.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.008937, allocations: 67.52 kB / 256.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.009072, allocations: 0.5078 MB / 256.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.00914, allocations: 32.5 kB / 256.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.009219, allocations: 83.98 kB / 256.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.009357, allocations: 111.5 kB / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009359, allocations: 0 / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002325/0.009592, allocations: 193.3 kB / 257.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.009607, allocations: 8.062 kB / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.009615, allocations: 4 kB / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.009629, allocations: 0 / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.009757, allocations: 43.97 kB / 257.1 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.009764, allocations: 4 kB / 257.1 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.009806, allocations: 19.84 kB / 257.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.009823, allocations: 12 kB / 257.2 MB, free: 13.2 MB / 250.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.0001032/0.009926, allocations: 184.6 kB / 257.3 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.009951, allocations: 27.84 kB / 257.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.009982, allocations: 13.47 kB / 257.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.009985, allocations: 0 / 257.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.009989, allocations: 0 / 257.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.009994, allocations: 3.984 kB / 257.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01013, allocations: 144.6 kB / 257.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01013, allocations: 0 / 257.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.01015, allocations: 15.92 kB / 257.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01016, allocations: 4 kB / 257.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01017, allocations: 3.938 kB / 257.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01017, allocations: 3.938 kB / 257.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01017, allocations: 8 kB / 257.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01034, allocations: 175.9 kB / 257.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.01036, allocations: 11.91 kB / 257.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01038, allocations: 11.94 kB / 257.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.01041, allocations: 7.984 kB / 257.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.01046, allocations: 15.92 kB / 257.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01047, allocations: 0 / 257.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.01054, allocations: 164.2 kB / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.01077, allocations: 59.86 kB / 258 MB, free: 12.28 MB / 250.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.0004262/0.01119, allocations: 247.2 kB / 258.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01141, allocations: 99.8 kB / 258.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01141, allocations: 0 / 258.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.828e-05/0.01147, allocations: 47.58 kB / 258.4 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01164, allocations: 19.95 kB / 258.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01205, allocations: 252.9 kB / 258.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.0121, allocations: 67.34 kB / 258.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.01215, allocations: 25.08 kB / 258.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01218, allocations: 12.5 kB / 258.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01218, allocations: 0 / 258.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of Templates: time 0.004986/0.01717, allocations: 2.605 MB / 261.4 MB, free: 8.879 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","",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.765845239162445]