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.001033/0.001033, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.6 MB / 244.3 MB, free: 8.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007987/0.0007987, allocations: 106.9 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002064/0.0002064, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1961, allocations: 51.29 MB / 407.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.0009483/0.1971, allocations: 0.5735 MB / 408.1 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.1975, allocations: 251.8 kB / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1976, allocations: 4.5 kB / 408.3 MB, free: 27.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.1977, allocations: 2.094 kB / 408.3 MB, free: 27.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1978, allocations: 7.922 kB / 408.3 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1981, allocations: 83.8 kB / 408.4 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.1982, allocations: 44.5 kB / 408.5 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.1983, allocations: 18.16 kB / 408.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1983, allocations: 11.92 kB / 408.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.1984, allocations: 23.86 kB / 408.5 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1984, allocations: 0 / 408.5 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.1985, allocations: 39.95 kB / 408.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.1985, allocations: 16.55 kB / 408.6 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1986, allocations: 34.61 kB / 408.6 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.1986, allocations: 67.81 kB / 408.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1987, allocations: 0 / 408.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1987, allocations: 1.656 kB / 408.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1987, allocations: 0 / 408.7 MB, free: 26.69 MB / 298.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.0003275/0.199, allocations: 368 kB / 409 MB, free: 26.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.199, allocations: 11.53 kB / 409 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1991, allocations: 7.906 kB / 409 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1992, allocations: 193.1 kB / 409.2 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1992, allocations: 3.953 kB / 409.2 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1993, allocations: 8 kB / 409.2 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1995, allocations: 160.9 kB / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1995, allocations: 0 / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1995, allocations: 0 / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1995, allocations: 0 / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.1996, allocations: 16 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.1998, allocations: 285.6 kB / 409.7 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.1999, allocations: 42.56 kB / 409.7 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.1999, allocations: 24.8 kB / 409.8 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.2004, allocations: 0.5857 MB / 410.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2004, allocations: 30.56 kB / 410.4 MB, free: 24.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2004, allocations: 4 kB / 410.4 MB, free: 24.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001609/0.2006, allocations: 89.5 kB / 410.5 MB, free: 24.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2006, allocations: 55.41 kB / 410.5 MB, free: 24.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2007, allocations: 153.2 kB / 410.7 MB, free: 24.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.2007, allocations: 25.7 kB / 410.7 MB, free: 24.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.2008, allocations: 88.33 kB / 410.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.2008, allocations: 11.84 kB / 410.8 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2008, allocations: 0 / 410.8 MB, free: 24.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.2009, allocations: 326.8 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.2009, allocations: 23.98 kB / 411.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.2009, allocations: 61.94 kB / 411.2 MB, free: 23.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.201, allocations: 31.98 kB / 411.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.201, allocations: 4 kB / 411.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.2011, allocations: 109.4 kB / 411.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2011, allocations: 4 kB / 411.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2011, allocations: 0 / 411.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2011, allocations: 8 kB / 411.4 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.2012, allocations: 20.16 kB / 411.4 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2012, allocations: 4 kB / 411.4 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.2013, allocations: 7.938 kB / 411.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2013, allocations: 7.984 kB / 411.4 MB, free: 23.58 MB / 298.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 7.553e-05/0.2014, allocations: 135.4 kB / 411.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.2014, allocations: 65.59 kB / 411.6 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.2016, allocations: 82.39 kB / 411.7 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2016, allocations: 0 / 411.7 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2016, allocations: 8 kB / 411.7 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2016, allocations: 0 / 411.7 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.126e-05/0.2017, allocations: 185.4 kB / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2017, allocations: 4 kB / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.2017, allocations: 4 kB / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2017, allocations: 0 / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2017, allocations: 0 / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2017, allocations: 3.984 kB / 411.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2017, allocations: 0 / 411.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.2018, allocations: 101 kB / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2019, allocations: 89 kB / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2019, allocations: 8 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.2019, allocations: 0 / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.2019, allocations: 0 / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.202, allocations: 4 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.202, allocations: 114.6 kB / 412.2 MB, free: 22.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.202, allocations: 0 / 412.2 MB, free: 22.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.2022, allocations: 19.94 kB / 412.2 MB, free: 22.67 MB / 298.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.0001247/0.2023, allocations: 123.3 kB / 412.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.2024, allocations: 55.91 kB / 412.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2025, allocations: 0 / 412.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2025, allocations: 0 / 412.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2028, allocations: 73.7 kB / 412.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.203, allocations: 225.2 kB / 412.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2031, allocations: 0.6965 MB / 413.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.2032, allocations: 11.44 kB / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2032, allocations: 4 kB / 413.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of Templates: time 0.002087/0.2053, allocations: 1.258 MB / 414.6 MB, free: 20.17 MB / 298.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/jenkins/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