Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 199.4 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007273/0.0007272, allocations: 104.4 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 11.98 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09885/0.3579, allocations: 77.56 MB / 486.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.3582, allocations: 75.95 kB / 486.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008001/0.3662, allocations: 3.045 MB / 489.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3663, allocations: 0 / 489.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3663, allocations: 4 kB / 489.4 MB, free: 10.94 MB / 362.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.0004216/0.3667, allocations: 375.2 kB / 489.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3668, allocations: 8.031 kB / 489.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3668, allocations: 15.75 kB / 489.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.367, allocations: 198.7 kB / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.367, allocations: 4.375 kB / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3671, allocations: 4.375 kB / 489.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.3674, allocations: 157.4 kB / 490.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3674, allocations: 192 / 490.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3674, allocations: 3.938 kB / 490.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3674, allocations: 0 / 490.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3675, allocations: 19.98 kB / 490.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.3678, allocations: 273.8 kB / 490.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.3679, allocations: 46.5 kB / 490.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3679, allocations: 24.89 kB / 490.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/0.3685, allocations: 0.5818 MB / 491 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3685, allocations: 38.5 kB / 491.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3685, allocations: 3.938 kB / 491.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001959/0.3688, allocations: 85.77 kB / 491.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3688, allocations: 63.3 kB / 491.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3689, allocations: 149.2 kB / 491.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.369, allocations: 25.7 kB / 491.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.369, allocations: 96.12 kB / 491.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.369, allocations: 0 / 491.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.369, allocations: 4 kB / 491.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3692, allocations: 326.8 kB / 491.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.3692, allocations: 23.98 kB / 491.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.3693, allocations: 54 kB / 491.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.908e-05/0.3694, allocations: 83.09 kB / 492 MB, free: 7.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3694, allocations: 0 / 492 MB, free: 7.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.3695, allocations: 117.4 kB / 492.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3695, allocations: 8 kB / 492.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3695, allocations: 0 / 492.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3696, allocations: 4 kB / 492.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.3697, allocations: 15.94 kB / 492.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3697, allocations: 4 kB / 492.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.3697, allocations: 7.906 kB / 492.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3697, allocations: 4 kB / 492.1 MB, free: 7.762 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * 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 0.0001043/0.3698, allocations: 141.9 kB / 492.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.3699, allocations: 73.53 kB / 492.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.3701, allocations: 82.33 kB / 492.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3701, allocations: 3.984 kB / 492.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3701, allocations: 0 / 492.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3701, allocations: 0 / 492.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.3702, allocations: 173.6 kB / 492.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3702, allocations: 0 / 492.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.3703, allocations: 15.92 kB / 492.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3703, allocations: 4 kB / 492.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3703, allocations: 0 / 492.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3703, allocations: 4 kB / 492.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3703, allocations: 192 / 492.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.3704, allocations: 101 kB / 492.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3705, allocations: 100.8 kB / 492.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3706, allocations: 8 kB / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.3706, allocations: 0 / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.3706, allocations: 4 kB / 492.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3706, allocations: 0 / 492.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.3707, allocations: 115.2 kB / 492.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 0 / 492.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.3709, allocations: 20 kB / 493 MB, free: 6.82 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0001641/0.3711, allocations: 111.2 kB / 493.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.3712, allocations: 60.22 kB / 493.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3712, allocations: 4.062 kB / 493.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.3712, allocations: 0 / 493.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3716, allocations: 81.78 kB / 493.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.3719, allocations: 220.2 kB / 493.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3722, allocations: 0.7043 MB / 494.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.3722, allocations: 11.44 kB / 494.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3722, allocations: 0 / 494.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of Templates: time 0.002728/0.375, allocations: 1.273 MB / 495.4 MB, free: 4.305 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches