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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 117.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 200.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3738, allocations: 50.53 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002467/0.3764, allocations: 0.87 MB / 410.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006122/0.377, allocations: 251.1 kB / 410.4 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.3771, allocations: 4 kB / 410.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.3771, allocations: 3.938 kB / 410.4 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3773, allocations: 11.92 kB / 410.4 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3776, allocations: 98.97 kB / 410.5 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3778, allocations: 47.84 kB / 410.5 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.3779, allocations: 27.91 kB / 410.6 MB, free: 280 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.3779, allocations: 23.92 kB / 410.6 MB, free: 256 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.378, allocations: 19.86 kB / 410.6 MB, free: 236 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.378, allocations: 4 kB / 410.6 MB, free: 232 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.3781, allocations: 39.95 kB / 410.6 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.3782, allocations: 27.86 kB / 410.7 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3782, allocations: 23.81 kB / 410.7 MB, free: 140 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3784, allocations: 91.48 kB / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3784, allocations: 0 / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3784, allocations: 0 / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3784, allocations: 3.938 kB / 410.8 MB, free: 48 kB / 318.1 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.0004447/0.3789, allocations: 395 kB / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3789, allocations: 12.03 kB / 411.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3789, allocations: 12.89 kB / 411.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3791, allocations: 206.3 kB / 411.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.3792, allocations: 384 / 411.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3792, allocations: 4.375 kB / 411.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3794, allocations: 153.6 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3795, allocations: 4.172 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3795, allocations: 3.938 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3795, allocations: 3.938 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.3795, allocations: 20 kB / 411.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.3798, allocations: 273.8 kB / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.3799, allocations: 50.44 kB / 411.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.3799, allocations: 20.86 kB / 411.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.3805, allocations: 0.5857 MB / 412.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3806, allocations: 30.56 kB / 412.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3806, allocations: 0 / 412.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.3808, allocations: 85.7 kB / 412.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3808, allocations: 63.33 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3809, allocations: 153.2 kB / 412.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.381, allocations: 25.7 kB / 412.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.381, allocations: 92.12 kB / 412.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.381, allocations: 11.95 kB / 413 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3811, allocations: 29.64 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3812, allocations: 318.8 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.3813, allocations: 23.92 kB / 413.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.3813, allocations: 62 kB / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.3814, allocations: 85.86 kB / 413.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3814, allocations: 4 kB / 413.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001427/0.3816, allocations: 105.5 kB / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3816, allocations: 8 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3816, allocations: 0 / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3816, allocations: 4 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.3817, allocations: 19.92 kB / 413.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3817, allocations: 4 kB / 413.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.3818, allocations: 8.172 kB / 413.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3818, allocations: 8 kB / 413.6 MB, free: 12.8 MB / 334.1 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 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.3819, allocations: 129.8 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.382, allocations: 77.58 kB / 413.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3822, allocations: 82.33 kB / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3822, allocations: 0 / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3822, allocations: 0 / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3822, allocations: 144 / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3823, allocations: 181.5 kB / 414.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3823, allocations: 4 kB / 414.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3824, allocations: 7.984 kB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3824, allocations: 0 / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3824, allocations: 4 kB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3824, allocations: 7.938 kB / 414.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3824, allocations: 0 / 414.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3825, allocations: 104.9 kB / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.3826, allocations: 93.05 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3826, allocations: 8 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.3827, allocations: 7.984 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.3827, allocations: 0 / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3827, allocations: 4 kB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.3828, allocations: 115.2 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3828, allocations: 0 / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.383, allocations: 20 kB / 414.5 MB, free: 11.86 MB / 334.1 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 (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.0001678/0.3832, allocations: 107.4 kB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3833, allocations: 63.84 kB / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3833, allocations: 0 / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3833, allocations: 0 / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3837, allocations: 77.69 kB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.384, allocations: 173.3 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3843, allocations: 0.7045 MB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.3843, allocations: 8.672 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.3843, allocations: 11.44 kB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3843, allocations: 0 / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of Templates: time 0.003861/0.3882, allocations: 1.351 MB / 416.9 MB, free: 9.312 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches