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.001552/0.001552, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.001637/0.001637, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 51.17 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2026, allocations: 49.44 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.005038/0.2077, allocations: 0.9249 MB / 351 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2089, allocations: 267.1 kB / 351.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.2091, allocations: 0 / 351.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.541e-05/0.2092, allocations: 3.938 kB / 351.3 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2095, allocations: 15.92 kB / 351.3 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.2102, allocations: 87.8 kB / 351.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.2104, allocations: 43.84 kB / 351.4 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2106, allocations: 15.98 kB / 351.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.2107, allocations: 19.92 kB / 351.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2108, allocations: 19.86 kB / 351.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.2109, allocations: 4 kB / 351.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.2111, allocations: 39.95 kB / 351.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2112, allocations: 19.92 kB / 351.5 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.2113, allocations: 31.8 kB / 351.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.2115, allocations: 63.83 kB / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2115, allocations: 0 / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2115, allocations: 0 / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2116, allocations: 0 / 351.6 MB, free: 3.309 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.0008894/0.2125, allocations: 387.4 kB / 352 MB, free: 2.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.2125, allocations: 15.97 kB / 352 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.2126, allocations: 8.844 kB / 352 MB, free: 2.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.213, allocations: 196.1 kB / 352.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.213, allocations: 8.375 kB / 352.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2131, allocations: 4.359 kB / 352.2 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.2136, allocations: 165.3 kB / 352.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2136, allocations: 192 / 352.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.2137, allocations: 3.938 kB / 352.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2137, allocations: 0 / 352.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.2138, allocations: 20 kB / 352.4 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.2143, allocations: 273.7 kB / 352.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.2145, allocations: 50.5 kB / 352.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.2146, allocations: 20.86 kB / 352.7 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.2158, allocations: 0.5818 MB / 353.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2159, allocations: 34.56 kB / 353.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.2159, allocations: 0 / 353.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003782/0.2163, allocations: 93.5 kB / 353.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.2164, allocations: 63.25 kB / 353.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2166, allocations: 149.8 kB / 353.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2167, allocations: 25.7 kB / 353.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.2168, allocations: 88.14 kB / 353.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2168, allocations: 4 kB / 353.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.2169, allocations: 29.61 kB / 353.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.2171, allocations: 326.8 kB / 354.1 MB, free: 448 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.2172, allocations: 15.98 kB / 354.1 MB, free: 432 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2173, allocations: 65.98 kB / 354.2 MB, free: 344 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.2175, allocations: 81.88 kB / 354.3 MB, free: 240 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2175, allocations: 0 / 354.3 MB, free: 240 kB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002878/0.2178, allocations: 109.5 kB / 354.4 MB, free: 124 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.2179, allocations: 8 kB / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.2179, allocations: 0 / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.2179, allocations: 4 kB / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2181, allocations: 19.92 kB / 354.4 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.2181, allocations: 4 kB / 354.4 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.2182, allocations: 7.938 kB / 354.4 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2183, allocations: 4 kB / 354.4 MB, free: 76 kB / 286.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.0002425/0.2185, allocations: 138.3 kB / 354.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.2187, allocations: 69.59 kB / 354.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.219, allocations: 94.33 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2191, allocations: 0 / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2191, allocations: 0 / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2191, allocations: 0 / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2193, allocations: 181.5 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.2194, allocations: 4 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.2195, allocations: 7.938 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2195, allocations: 4 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2195, allocations: 8.125 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2195, allocations: 0 / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2195, allocations: 0 / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2198, allocations: 101 kB / 355 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2199, allocations: 93 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.22, allocations: 7.984 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.22, allocations: 0 / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-06/0.2201, allocations: 4 kB / 355.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2201, allocations: 4 kB / 355.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.2203, allocations: 121.8 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2203, allocations: 0 / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000451/0.2207, allocations: 20 kB / 355.3 MB, free: 15.12 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.0003215/0.2211, allocations: 115.1 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2213, allocations: 44.23 kB / 355.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2214, allocations: 4.125 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.2214, allocations: 4 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.2221, allocations: 77.7 kB / 355.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.2227, allocations: 235.2 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.2232, allocations: 0.7043 MB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.2233, allocations: 11.44 kB / 356.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2233, allocations: 0 / 356.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Templates: time 0.005878/0.2292, allocations: 1.282 MB / 357.7 MB, free: 12.58 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