Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 92.94 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007742/0.0007741, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.0002269, allocations: 11.94 kB / 302.1 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0731/0.07334, allocations: 50.41 MB / 352.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.0009958/0.07437, allocations: 0.5969 MB / 353.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.07488, allocations: 259.1 kB / 353.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.07496, allocations: 0 / 353.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.07499, allocations: 3.938 kB / 353.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.07511, allocations: 11.92 kB / 353.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.07544, allocations: 79.25 kB / 353.4 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.07554, allocations: 47.83 kB / 353.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.07563, allocations: 16 kB / 353.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.07566, allocations: 15.92 kB / 353.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.07573, allocations: 19.86 kB / 353.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.07575, allocations: 0 / 353.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.07584, allocations: 43.89 kB / 353.6 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.0759, allocations: 19.92 kB / 353.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.07595, allocations: 49.52 kB / 353.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.972e-05/0.07606, allocations: 59.88 kB / 353.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.07607, allocations: 7.938 kB / 353.7 MB, free: 2.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07608, allocations: 0 / 353.7 MB, free: 2.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.07609, allocations: 4 kB / 353.7 MB, free: 2.461 MB / 286.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.0003811/0.07647, allocations: 367.5 kB / 354.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.07651, allocations: 8.031 kB / 354.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.07654, allocations: 8.844 kB / 354.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.07672, allocations: 210.7 kB / 354.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.07674, allocations: 8.375 kB / 354.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.07676, allocations: 384 / 354.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.07702, allocations: 153.6 kB / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.07704, allocations: 192 / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.07705, allocations: 3.938 kB / 354.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.07707, allocations: 0 / 354.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.07712, allocations: 27.92 kB / 354.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.07738, allocations: 269.8 kB / 354.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.07747, allocations: 54.42 kB / 354.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.07752, allocations: 32.83 kB / 354.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.07809, allocations: 0.5739 MB / 355.4 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.07813, allocations: 42.55 kB / 355.5 MB, free: 428 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.07814, allocations: 0 / 355.5 MB, free: 428 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001765/0.07832, allocations: 85.5 kB / 355.5 MB, free: 336 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.07837, allocations: 59.41 kB / 355.6 MB, free: 264 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.07849, allocations: 148.9 kB / 355.7 MB, free: 108 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.07851, allocations: 29.7 kB / 355.8 MB, free: 72 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.07856, allocations: 88.14 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.07858, allocations: 11.83 kB / 355.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.07861, allocations: 21.72 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.07871, allocations: 322.8 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.07874, allocations: 19.98 kB / 356.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.0788, allocations: 62 kB / 356.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.07889, allocations: 81.88 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.0789, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000146/0.07905, allocations: 113.4 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.07907, allocations: 8 kB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.07908, allocations: 0 / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.07909, allocations: 4 kB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.07917, allocations: 15.94 kB / 356.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.07918, allocations: 4.234 kB / 356.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.07923, allocations: 7.938 kB / 356.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.07924, allocations: 4 kB / 356.5 MB, free: 15.25 MB / 302.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 9.241e-05/0.07934, allocations: 134 kB / 356.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.07944, allocations: 81.52 kB / 356.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.07959, allocations: 82.45 kB / 356.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.0796, allocations: 3.984 kB / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.07961, allocations: 4 kB / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.07962, allocations: 0 / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.07972, allocations: 177.5 kB / 357 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.07974, allocations: 3.984 kB / 357 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.07978, allocations: 8 kB / 357 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.07979, allocations: 3.938 kB / 357 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.0798, allocations: 4.188 kB / 357 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.07981, allocations: 0 / 357 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.07982, allocations: 3.938 kB / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.07994, allocations: 100.9 kB / 357.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.08, allocations: 96.98 kB / 357.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.08003, allocations: 4 kB / 357.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.08006, allocations: 4 kB / 357.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.08007, allocations: 0 / 357.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.08009, allocations: 8 kB / 357.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.226e-05/0.08016, allocations: 115.2 kB / 357.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08017, allocations: 0 / 357.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.0804, allocations: 16 kB / 357.3 MB, free: 14.31 MB / 302.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.0001265/0.08053, allocations: 115.1 kB / 357.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.08065, allocations: 56.09 kB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08066, allocations: 0 / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.08067, allocations: 0 / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.08101, allocations: 85.64 kB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.08133, allocations: 233.4 kB / 357.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.08155, allocations: 0.7004 MB / 358.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.08157, allocations: 15.38 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.08158, allocations: 0 / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00255/0.08414, allocations: 1.258 MB / 359.8 MB, free: 11.78 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches