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.002027/0.002027, allocations: 116.2 kB / 21.94 MB, free: 20 kB / 14.72 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.001677/0.001677, allocations: 212.7 kB / 25.24 MB, free: 3.547 MB / 14.72 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.631/1.631, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 55.92 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3853, allocations: 49.17 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003327/0.3886, allocations: 1.486 MB / 399.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3899, allocations: 0.5736 MB / 399.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.39, allocations: 0 / 399.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3901, allocations: 15.12 kB / 399.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.3901, allocations: 19.2 kB / 399.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3908, allocations: 157.9 kB / 399.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.391, allocations: 118 kB / 400 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.391, allocations: 6.078 kB / 400 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.3911, allocations: 53.62 kB / 400 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.3912, allocations: 55.75 kB / 400.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3912, allocations: 9.625 kB / 400.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.3916, allocations: 170.1 kB / 400.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.3916, allocations: 33.81 kB / 400.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.3917, allocations: 56.16 kB / 400.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.3921, allocations: 212.4 kB / 400.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3921, allocations: 0 / 400.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3921, allocations: 5 kB / 400.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3921, allocations: 0 / 400.6 MB, free: 7.695 MB / 318.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.0007048/0.3928, allocations: 389.3 kB / 400.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3928, allocations: 13.08 kB / 400.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.3932, allocations: 41.98 kB / 401 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3933, allocations: 133.5 kB / 401.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3933, allocations: 12.38 kB / 401.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3933, allocations: 5.531 kB / 401.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.3936, allocations: 117.7 kB / 401.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3936, allocations: 1.312 kB / 401.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3936, allocations: 4.5 kB / 401.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3936, allocations: 2.031 kB / 401.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3938, allocations: 63.73 kB / 401.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.3944, allocations: 341.7 kB / 401.7 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3947, allocations: 124.7 kB / 401.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3949, allocations: 48.02 kB / 401.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3949, allocations: 5.922 kB / 401.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.3952, allocations: 148.3 kB / 402 MB, free: 6.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3952, allocations: 0 / 402 MB, free: 6.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005703/0.3958, allocations: 232.8 kB / 402.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3958, allocations: 95.08 kB / 402.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.396, allocations: 180 kB / 402.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.396, allocations: 50.45 kB / 402.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3961, allocations: 100.9 kB / 402.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.3961, allocations: 45.73 kB / 402.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.3962, allocations: 55.27 kB / 402.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3963, allocations: 329.3 kB / 403 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.3966, allocations: 99.06 kB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3968, allocations: 139.7 kB / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.3971, allocations: 217.1 kB / 403.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3971, allocations: 0 / 403.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005497/0.3977, allocations: 296.3 kB / 403.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3977, allocations: 9.25 kB / 403.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3977, allocations: 1.125 kB / 403.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3977, allocations: 1.781 kB / 403.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3979, allocations: 31.25 kB / 403.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3979, allocations: 2.219 kB / 403.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.398, allocations: 25.59 kB / 403.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.398, allocations: 5.719 kB / 403.8 MB, free: 5.445 MB / 318.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.0001266/0.3981, allocations: 154.3 kB / 404 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3982, allocations: 14.5 kB / 404 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3982, allocations: 11.97 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3982, allocations: 1.406 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3982, allocations: 1.312 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3982, allocations: 2.953 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3984, allocations: 183.9 kB / 404.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3984, allocations: 0 / 404.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.3984, allocations: 10.34 kB / 404.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3984, allocations: 6.141 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3984, allocations: 1.672 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3984, allocations: 1.969 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3984, allocations: 1.312 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3988, allocations: 228.5 kB / 404.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3988, allocations: 21.48 kB / 404.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3988, allocations: 12.69 kB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.3989, allocations: 5.984 kB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.399, allocations: 12.81 kB / 404.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.399, allocations: 4.391 kB / 404.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.399, allocations: 129.1 kB / 404.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.399, allocations: 0 / 404.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.3994, allocations: 49.11 kB / 404.7 MB, free: 4.84 MB / 318.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.0005092/0.3999, allocations: 232.7 kB / 404.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4003, allocations: 189.1 kB / 405.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4003, allocations: 0 / 405.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4005, allocations: 53.58 kB / 405.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.4006, allocations: 10.75 kB / 405.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.4011, allocations: 275.9 kB / 405.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.4013, allocations: 0.7151 MB / 406.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.4014, allocations: 15.5 kB / 406.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4014, allocations: 0 / 406.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of Templates: time 0.006173/0.4076, allocations: 2.444 MB / 408.6 MB, free: 3.215 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 8.28366229403764]