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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 206.2 kB / 8.543 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 93.89 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.584e-06, allocations: 0 / 343.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 51.48 MB / 394.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.3945, allocations: 77.06 MB / 471.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.3948, allocations: 66.33 kB / 471.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01005/0.4049, allocations: 3.859 MB / 475.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4049, allocations: 4 kB / 475.6 MB, free: 12.34 MB / 346.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.0005212/0.4055, allocations: 430 kB / 476 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4055, allocations: 8.031 kB / 476 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.4058, allocations: 39.03 kB / 476.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.406, allocations: 198.1 kB / 476.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.406, allocations: 4 kB / 476.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.4061, allocations: 4 kB / 476.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.733e-05/0.4062, allocations: 35.98 kB / 476.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4063, allocations: 101.3 kB / 476.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4063, allocations: 3.938 kB / 476.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4063, allocations: 4 kB / 476.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4064, allocations: 0 / 476.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.4068, allocations: 340 kB / 476.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.4069, allocations: 96.39 kB / 476.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.407, allocations: 46.12 kB / 476.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.407, allocations: 0 / 476.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.4072, allocations: 125.9 kB / 477 MB, free: 11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.4072, allocations: 0 / 477 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000267/0.4074, allocations: 136.2 kB / 477.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4075, allocations: 91.78 kB / 477.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4076, allocations: 156.1 kB / 477.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.4077, allocations: 44.56 kB / 477.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4077, allocations: 99.34 kB / 477.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4077, allocations: 42.55 kB / 477.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.4078, allocations: 0 / 477.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.4078, allocations: 329.1 kB / 477.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4079, allocations: 71.2 kB / 478 MB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4081, allocations: 104.7 kB / 478.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.4083, allocations: 96.92 kB / 478.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4083, allocations: 3.906 kB / 478.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003919/0.4087, allocations: 247.3 kB / 478.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4087, allocations: 6.906 kB / 478.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.4088, allocations: 7.812 kB / 478.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4088, allocations: 0 / 478.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4089, allocations: 27.31 kB / 478.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4089, allocations: 7.234 kB / 478.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.409, allocations: 23.81 kB / 478.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.4091, allocations: 11.44 kB / 478.5 MB, free: 9.773 MB / 346.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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.4092, allocations: 126.9 kB / 478.6 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4092, allocations: 11.81 kB / 478.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.4092, allocations: 16.09 kB / 478.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4092, allocations: 4 kB / 478.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4092, allocations: 0 / 478.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4092, allocations: 4 kB / 478.6 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4094, allocations: 182.8 kB / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4094, allocations: 3.938 kB / 478.8 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.4095, allocations: 10.62 kB / 478.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4095, allocations: 0 / 478.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4095, allocations: 5.312 kB / 478.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4095, allocations: 0.5156 kB / 478.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4095, allocations: 7.906 kB / 478.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001933/0.4097, allocations: 177.9 kB / 479 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.4098, allocations: 90.28 kB / 479.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.4098, allocations: 14.92 kB / 479.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.4099, allocations: 10.16 kB / 479.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.4099, allocations: 16.75 kB / 479.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.41, allocations: 5.172 kB / 479.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.059e-05/0.41, allocations: 115.5 kB / 479.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.4104, allocations: 57.95 kB / 479.3 MB, free: 8.977 MB / 346.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004823/0.4109, allocations: 212.7 kB / 479.5 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.4112, allocations: 219.5 kB / 479.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4112, allocations: 4.062 kB / 479.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.4113, allocations: 53.81 kB / 479.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.4114, allocations: 12.41 kB / 479.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.4118, allocations: 165.2 kB / 480 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.412, allocations: 0.7309 MB / 480.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.412, allocations: 4 kB / 480.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of Templates: time 0.004797/0.4169, allocations: 2.32 MB / 483 MB, free: 5.52 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches