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.0008339/0.0008339, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.001001/0.001001, allocations: 157.7 kB / 25.44 MB, free: 8.855 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.048/1.048, allocations: 158.6 MB / 187.2 MB, free: 3.043 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 1.774e-06/1.774e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.734e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002034/0.002062, allocations: 1.46 MB / 301.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.002984, allocations: 0.551 MB / 301.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.003035, allocations: 0 / 301.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.719e-05/0.003132, allocations: 11.88 kB / 301.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.003198, allocations: 23.73 kB / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.003696, allocations: 155.4 kB / 301.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.003816, allocations: 119.6 kB / 302 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.003863, allocations: 5.312 kB / 302 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.003942, allocations: 63.86 kB / 302.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.004319, allocations: 55.8 kB / 302.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.004341, allocations: 12 kB / 302.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.00457, allocations: 155.7 kB / 302.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.004621, allocations: 27.92 kB / 302.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.004668, allocations: 43.83 kB / 302.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.004938, allocations: 235.2 kB / 302.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00494, allocations: 0 / 302.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004941, allocations: 4 kB / 302.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.004946, allocations: 0 / 302.6 MB, free: 3.992 MB / 282.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.0004792/0.005425, allocations: 385.3 kB / 303 MB, free: 3.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.005464, allocations: 19.97 kB / 303 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.005659, allocations: 40.77 kB / 303 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.005776, allocations: 145.5 kB / 303.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.005793, allocations: 4.375 kB / 303.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005809, allocations: 8.375 kB / 303.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005979, allocations: 115.8 kB / 303.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.005988, allocations: 192 / 303.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.005998, allocations: 4.375 kB / 303.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006003, allocations: 384 / 303.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.006106, allocations: 63.89 kB / 303.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.006538, allocations: 293.3 kB / 303.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.006721, allocations: 125.1 kB / 303.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.006783, allocations: 57.73 kB / 303.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.006792, allocations: 0 / 303.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.006996, allocations: 148.6 kB / 304 MB, free: 2.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.006997, allocations: 0 / 304 MB, free: 2.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000351/0.007348, allocations: 233.9 kB / 304.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.007407, allocations: 97.16 kB / 304.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.007534, allocations: 174.3 kB / 304.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.007565, allocations: 49.69 kB / 304.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.00763, allocations: 104.6 kB / 304.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.007668, allocations: 43.69 kB / 304.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.007735, allocations: 61.91 kB / 304.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.007843, allocations: 326.8 kB / 305 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.007966, allocations: 100.5 kB / 305.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.008095, allocations: 127.5 kB / 305.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.008321, allocations: 222.9 kB / 305.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008323, allocations: 0 / 305.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003207/0.008644, allocations: 297.3 kB / 305.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.008658, allocations: 8 kB / 305.8 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.008666, allocations: 0 / 305.8 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.008681, allocations: 0 / 305.8 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.008773, allocations: 27.92 kB / 305.8 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.008782, allocations: 7.984 kB / 305.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.008823, allocations: 27.89 kB / 305.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.008837, allocations: 8 kB / 305.9 MB, free: 0.5078 MB / 282.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.0001063/0.008944, allocations: 145.8 kB / 306 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.008959, allocations: 19.84 kB / 306 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.008987, allocations: 17.45 kB / 306 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008989, allocations: 0 / 306 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.008995, allocations: 0 / 306 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008999, allocations: 0 / 306 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.009115, allocations: 141.2 kB / 306.2 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009117, allocations: 7.938 kB / 306.2 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.009138, allocations: 11.98 kB / 306.2 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00914, allocations: 0 / 306.2 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.009149, allocations: 3.938 kB / 306.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009151, allocations: 4 kB / 306.2 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009152, allocations: 0 / 306.2 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.009371, allocations: 213.8 kB / 306.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.009397, allocations: 31.83 kB / 306.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.009415, allocations: 7.938 kB / 306.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.009441, allocations: 11.98 kB / 306.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.009489, allocations: 20 kB / 306.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.009494, allocations: 4 kB / 306.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.009567, allocations: 127.2 kB / 306.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009567, allocations: 0 / 306.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.009782, allocations: 47.92 kB / 306.7 MB, free: 15.65 MB / 298.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.0004098/0.01019, allocations: 227.9 kB / 306.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.01047, allocations: 183.7 kB / 307.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01047, allocations: 4.125 kB / 307.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.01054, allocations: 47.98 kB / 307.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.01068, allocations: 11.98 kB / 307.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.0111, allocations: 276.8 kB / 307.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.01118, allocations: 105.6 kB / 307.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.01121, allocations: 16.5 kB / 307.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01121, allocations: 4 kB / 307.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003911/0.01512, allocations: 2.502 MB / 310 MB, free: 12.22 MB / 298.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=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/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: 5.164557619951665]