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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 97.58 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000973/0.0009731, allocations: 36.08 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3354, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002386/0.3378, allocations: 0.9324 MB / 400.4 MB, free: 32.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.3385, allocations: 255.2 kB / 400.7 MB, free: 32.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.3386, allocations: 7.938 kB / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.3387, allocations: 0 / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3388, allocations: 9.234 kB / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3392, allocations: 91.78 kB / 400.8 MB, free: 32.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.3393, allocations: 47.84 kB / 400.8 MB, free: 32.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.3394, allocations: 12 kB / 400.8 MB, free: 32.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.3394, allocations: 27.84 kB / 400.8 MB, free: 32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.3395, allocations: 19.86 kB / 400.9 MB, free: 31.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3395, allocations: 4 kB / 400.9 MB, free: 31.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.3396, allocations: 31.97 kB / 400.9 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.3397, allocations: 19.92 kB / 400.9 MB, free: 31.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.3397, allocations: 35.8 kB / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3399, allocations: 87.67 kB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3399, allocations: 0 / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3399, allocations: 0 / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3399, allocations: 0 / 401 MB, free: 31.8 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.0004157/0.3403, allocations: 388.7 kB / 401.4 MB, free: 31.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3404, allocations: 8.031 kB / 401.4 MB, free: 31.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3404, allocations: 12.75 kB / 401.4 MB, free: 31.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3406, allocations: 200.1 kB / 401.6 MB, free: 31.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3406, allocations: 12.38 kB / 401.6 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3407, allocations: 384 / 401.6 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3409, allocations: 157.4 kB / 401.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3409, allocations: 192 / 401.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.341, allocations: 3.938 kB / 401.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.341, allocations: 7.938 kB / 401.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.341, allocations: 20 kB / 401.8 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.3412, allocations: 273.6 kB / 402.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.3413, allocations: 46.5 kB / 402.1 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.3414, allocations: 24.86 kB / 402.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.3419, allocations: 0.5818 MB / 402.8 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.3419, allocations: 30.56 kB / 402.8 MB, free: 29.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3419, allocations: 0 / 402.8 MB, free: 29.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001795/0.3421, allocations: 93.58 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3421, allocations: 63.41 kB / 402.9 MB, free: 29.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.3422, allocations: 145.8 kB / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.3423, allocations: 25.7 kB / 403.1 MB, free: 29.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.3423, allocations: 88.14 kB / 403.2 MB, free: 29.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3423, allocations: 11.89 kB / 403.2 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.3423, allocations: 25.62 kB / 403.2 MB, free: 29.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.3424, allocations: 326.8 kB / 403.5 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.3424, allocations: 12 kB / 403.6 MB, free: 28.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.3425, allocations: 69.98 kB / 403.6 MB, free: 28.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.3425, allocations: 81.88 kB / 403.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3425, allocations: 0 / 403.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.3427, allocations: 105.5 kB / 403.8 MB, free: 28.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3427, allocations: 8 kB / 403.8 MB, free: 28.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3427, allocations: 224 / 403.8 MB, free: 28.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3427, allocations: 8 kB / 403.8 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.3428, allocations: 23.86 kB / 403.8 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3428, allocations: 4 kB / 403.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.3428, allocations: 12 kB / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3429, allocations: 4 kB / 403.9 MB, free: 28.57 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 ($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 7.779e-05/0.3429, allocations: 134.9 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.343, allocations: 73.81 kB / 404.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.3432, allocations: 90.33 kB / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3432, allocations: 3.938 kB / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3432, allocations: 0 / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3432, allocations: 0 / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.328e-05/0.3432, allocations: 181.5 kB / 404.3 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3433, allocations: 0 / 404.3 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.3433, allocations: 11.92 kB / 404.4 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3433, allocations: 4 kB / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3433, allocations: 0 / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3433, allocations: 0 / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3433, allocations: 0 / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3436, allocations: 0.6785 MB / 405 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3437, allocations: 97 kB / 405.1 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3437, allocations: 3.938 kB / 405.1 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.3437, allocations: 15.92 kB / 405.1 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.3437, allocations: 0 / 405.1 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3438, allocations: 0 / 405.1 MB, free: 27.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.3438, allocations: 117.5 kB / 405.3 MB, free: 27.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3438, allocations: 0 / 405.3 MB, free: 27.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.3441, allocations: 20 kB / 405.3 MB, free: 27 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 (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.0001227/0.3443, allocations: 103.2 kB / 405.4 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.3444, allocations: 55.91 kB / 405.4 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3444, allocations: 0 / 405.4 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.3444, allocations: 448 / 405.4 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3448, allocations: 85.64 kB / 405.5 MB, free: 26.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3451, allocations: 330 kB / 405.8 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3452, allocations: 0.7043 MB / 406.5 MB, free: 25.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.386e-05/0.3452, allocations: 8.656 kB / 406.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.3452, allocations: 11.44 kB / 406.6 MB, free: 25.63 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3453, allocations: 0 / 406.6 MB, free: 25.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003309/0.3486, allocations: 1.319 MB / 407.9 MB, free: 24.32 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches