Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 93.22 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.277e-06/9.297e-06, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09898, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/0.4203, allocations: 76.34 MB / 463.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4206, allocations: 71.95 kB / 463.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.432, allocations: 4.178 MB / 468 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.432, allocations: 0 / 468 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.432, allocations: 0 / 468 MB, free: 14.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007637/0.4328, allocations: 435.3 kB / 468.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.4329, allocations: 12.03 kB / 468.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.4332, allocations: 39.78 kB / 468.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.4335, allocations: 190.8 kB / 468.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.4336, allocations: 3.984 kB / 468.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4336, allocations: 4 kB / 468.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.4337, allocations: 32 kB / 468.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4339, allocations: 99.36 kB / 468.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.434, allocations: 4 kB / 468.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.434, allocations: 3.953 kB / 468.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.434, allocations: 4.688 kB / 468.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.4347, allocations: 358.1 kB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.4348, allocations: 97.17 kB / 469.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.4349, allocations: 41.78 kB / 469.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4349, allocations: 4 kB / 469.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4351, allocations: 133.6 kB / 469.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.4351, allocations: 0 / 469.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002966/0.4355, allocations: 169.7 kB / 469.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4355, allocations: 101 kB / 469.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4357, allocations: 154.4 kB / 469.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.4357, allocations: 41.69 kB / 469.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.4358, allocations: 116.5 kB / 470 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.4359, allocations: 35.48 kB / 470.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.4359, allocations: 8 kB / 470.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.436, allocations: 322.8 kB / 470.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4362, allocations: 68.5 kB / 470.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4363, allocations: 103.3 kB / 470.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.4365, allocations: 95.92 kB / 470.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4365, allocations: 0 / 470.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004071/0.437, allocations: 241.3 kB / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.437, allocations: 5.562 kB / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.437, allocations: 4 kB / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.437, allocations: 0 / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4372, allocations: 31.88 kB / 470.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4372, allocations: 4 kB / 470.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.4373, allocations: 23.8 kB / 471 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4373, allocations: 16 kB / 471 MB, free: 11.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001162/0.4375, allocations: 124.1 kB / 471.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.4375, allocations: 11.91 kB / 471.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.4375, allocations: 13.84 kB / 471.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4375, allocations: 0 / 471.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4375, allocations: 3.953 kB / 471.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4376, allocations: 4 kB / 471.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4378, allocations: 190 kB / 471.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4378, allocations: 0 / 471.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.4378, allocations: 8 kB / 471.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4378, allocations: 7.938 kB / 471.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4379, allocations: 3.984 kB / 471.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4379, allocations: 0 / 471.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4379, allocations: 4 kB / 471.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4381, allocations: 221.2 kB / 471.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.4382, allocations: 96.84 kB / 471.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4383, allocations: 8 kB / 471.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.4383, allocations: 7.984 kB / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.4384, allocations: 15.94 kB / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4384, allocations: 4 kB / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.4385, allocations: 131.2 kB / 471.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4385, allocations: 0 / 471.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.4389, allocations: 51.94 kB / 471.9 MB, free: 10.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005245/0.4394, allocations: 228 kB / 472.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.4397, allocations: 215.5 kB / 472.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4397, allocations: 0 / 472.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.4398, allocations: 52.06 kB / 472.3 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.44, allocations: 4 kB / 472.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.4404, allocations: 170.2 kB / 472.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4406, allocations: 0.7119 MB / 473.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.4407, allocations: 20.92 kB / 473.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4408, allocations: 19.44 kB / 473.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4408, allocations: 0 / 473.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of Templates: time 0.004732/0.4455, allocations: 2.098 MB / 475.4 MB, free: 6.566 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches