Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001693/0.001693, allocations: 196 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008648/0.0008651, allocations: 93.83 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.462e-06, allocations: 0 / 343.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08566, allocations: 51.48 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.3179, allocations: 76.82 MB / 471.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3182, allocations: 70.05 kB / 471.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007115/0.3253, allocations: 2.688 MB / 474.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.3253, allocations: 0 / 474.2 MB, free: 13.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002467/0.3256, allocations: 373.3 kB / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3256, allocations: 8.031 kB / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3256, allocations: 11.81 kB / 474.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3258, allocations: 196 kB / 474.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.3258, allocations: 0 / 474.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3258, allocations: 4 kB / 474.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.64e-05/0.3259, allocations: 18.19 kB / 474.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3261, allocations: 144.2 kB / 474.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3261, allocations: 0 / 474.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3261, allocations: 4 kB / 474.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3262, allocations: 0 / 474.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.3264, allocations: 249.5 kB / 475.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.3264, allocations: 45.92 kB / 475.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.3265, allocations: 23.89 kB / 475.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.3269, allocations: 0.5788 MB / 475.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3269, allocations: 33.31 kB / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3269, allocations: 0 / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001609/0.3271, allocations: 71.16 kB / 475.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3271, allocations: 55.34 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.3272, allocations: 133.2 kB / 476.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3272, allocations: 28.89 kB / 476.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.3272, allocations: 91.39 kB / 476.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.3273, allocations: 10.47 kB / 476.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3273, allocations: 0 / 476.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.3273, allocations: 317.8 kB / 476.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.3273, allocations: 13.94 kB / 476.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.3274, allocations: 62.34 kB / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.3274, allocations: 31.62 kB / 476.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3274, allocations: 3.906 kB / 476.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.3276, allocations: 98.08 kB / 476.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.3276, allocations: 8.031 kB / 476.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3276, allocations: 4 kB / 476.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3276, allocations: 0 / 476.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.3277, allocations: 23.41 kB / 476.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3277, allocations: 0 / 476.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.3277, allocations: 4 kB / 476.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3277, allocations: 4 kB / 476.8 MB, free: 10.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.797e-05/0.3278, allocations: 111.9 kB / 476.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.3279, allocations: 81.05 kB / 477 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.3281, allocations: 87.28 kB / 477.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3281, allocations: 7.359 kB / 477.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3281, allocations: 0 / 477.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3281, allocations: 4 kB / 477.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.672e-05/0.3282, allocations: 150.7 kB / 477.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3282, allocations: 0 / 477.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.3282, allocations: 4 kB / 477.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3282, allocations: 0 / 477.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3283, allocations: 4 kB / 477.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3283, allocations: 4 kB / 477.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3283, allocations: 5.625 kB / 477.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001092/0.3284, allocations: 100.6 kB / 477.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3284, allocations: 103.2 kB / 477.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3285, allocations: 0 / 477.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.3285, allocations: 4 kB / 477.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.3285, allocations: 0 / 477.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.3285, allocations: 0 / 477.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.324e-05/0.3286, allocations: 112.4 kB / 477.6 MB, free: 9.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.3288, allocations: 16 kB / 477.6 MB, free: 9.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001368/0.3289, allocations: 106.5 kB / 477.7 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.329, allocations: 47.27 kB / 477.7 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.329, allocations: 4 kB / 477.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.329, allocations: 0 / 477.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3293, allocations: 82.86 kB / 477.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.3296, allocations: 121.8 kB / 477.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3297, allocations: 0.7158 MB / 478.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3298, allocations: 4 kB / 478.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of Templates: time 0.002968/0.3327, allocations: 1.152 MB / 479.8 MB, free: 7.801 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches