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.001136/0.001136, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.5 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008205/0.0008204, allocations: 104.7 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 7.984 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2071, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.000928/0.208, allocations: 0.5853 MB / 408.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003991/0.2084, allocations: 235.4 kB / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.2085, allocations: 5.312 kB / 408.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2086, allocations: 3.984 kB / 408.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.2087, allocations: 7.938 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.209, allocations: 78.94 kB / 409 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.2091, allocations: 43.84 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2092, allocations: 19.92 kB / 409 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.2093, allocations: 15.92 kB / 409 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.2093, allocations: 16.48 kB / 409 MB, free: 26.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2094, allocations: 5.094 kB / 409.1 MB, free: 26.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.2094, allocations: 35.97 kB / 409.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.2095, allocations: 19.97 kB / 409.1 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.2095, allocations: 51.28 kB / 409.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.21e-05/0.2096, allocations: 67.77 kB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2097, allocations: 4 kB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2097, allocations: 3.984 kB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2097, allocations: 0 / 409.2 MB, free: 26.54 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.0003655/0.21, allocations: 369 kB / 409.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2101, allocations: 9 kB / 409.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.2101, allocations: 8.844 kB / 409.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2103, allocations: 199.2 kB / 409.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2103, allocations: 12.36 kB / 409.8 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2103, allocations: 2.188 kB / 409.8 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2106, allocations: 150.5 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2106, allocations: 0.9375 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2106, allocations: 3.938 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2106, allocations: 1.25 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.2106, allocations: 27.92 kB / 410 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.2109, allocations: 269.8 kB / 410.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.2109, allocations: 38.52 kB / 410.3 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.211, allocations: 28.83 kB / 410.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/0.2114, allocations: 0.5895 MB / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2114, allocations: 34.5 kB / 411 MB, free: 24.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2115, allocations: 0 / 411 MB, free: 24.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001642/0.2116, allocations: 81.66 kB / 411 MB, free: 24.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.2117, allocations: 63.31 kB / 411.1 MB, free: 24.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.2118, allocations: 145.2 kB / 411.2 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.2118, allocations: 29.7 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.2118, allocations: 92.12 kB / 411.4 MB, free: 24.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2118, allocations: 11.91 kB / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2118, allocations: 4 kB / 411.4 MB, free: 24.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.2119, allocations: 322.8 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.2119, allocations: 23.92 kB / 411.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.212, allocations: 61.94 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.212, allocations: 81.94 kB / 411.8 MB, free: 23.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.212, allocations: 0 / 411.8 MB, free: 23.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.2121, allocations: 109.5 kB / 412 MB, free: 23.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2122, allocations: 4 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2122, allocations: 3.984 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2122, allocations: 4 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.2123, allocations: 12 kB / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2123, allocations: 4 kB / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.2123, allocations: 11.84 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2123, allocations: 8.391 kB / 412 MB, free: 23.37 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.224e-05/0.2124, allocations: 138.8 kB / 412.1 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.2125, allocations: 69.58 kB / 412.2 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2126, allocations: 86.27 kB / 412.3 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2126, allocations: 0 / 412.3 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2126, allocations: 0 / 412.3 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2126, allocations: 3.984 kB / 412.3 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.859e-05/0.2127, allocations: 177.6 kB / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2127, allocations: 4 kB / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.2128, allocations: 7.984 kB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2128, allocations: 4 kB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2128, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2128, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2128, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.2129, allocations: 108.8 kB / 412.6 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.2129, allocations: 97.17 kB / 412.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.213, allocations: 8 kB / 412.7 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.213, allocations: 4 kB / 412.7 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-06/0.213, allocations: 3.984 kB / 412.7 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.213, allocations: 4 kB / 412.7 MB, free: 22.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.2131, allocations: 119.2 kB / 412.8 MB, free: 22.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2131, allocations: 0 / 412.8 MB, free: 22.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.2133, allocations: 16 kB / 412.8 MB, free: 22.43 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.0001186/0.2134, allocations: 111.2 kB / 412.9 MB, free: 22.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2135, allocations: 55.92 kB / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2135, allocations: 0 / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.2135, allocations: 192 / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2139, allocations: 88.52 kB / 413.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.2141, allocations: 221.3 kB / 413.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2143, allocations: 0.7005 MB / 414 MB, free: 21.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2143, allocations: 15.42 kB / 414 MB, free: 21.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2143, allocations: 0 / 414 MB, free: 21.17 MB / 298.7 MB Notification: Performance of Templates: time 0.002157/0.2164, allocations: 1.261 MB / 415.3 MB, free: 19.92 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