Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002488, allocations: 177.6 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.232/3.232, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 89.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005188, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5615, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.7314, allocations: 76.18 MB / 451.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/0.7318, allocations: 67.91 kB / 452 MB, free: 4.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.7518, allocations: 4.154 MB / 456.1 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd: time 6.402e-06/0.7519, allocations: 0 / 456.1 MB, free: 228 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.7519, allocations: 3.938 kB / 456.1 MB, free: 224 kB / 330.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.0009172/0.7528, allocations: 457.8 kB / 456.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7529, allocations: 8.031 kB / 456.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004363/0.7533, allocations: 44.72 kB / 456.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.7536, allocations: 196.1 kB / 456.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.7537, allocations: 8.375 kB / 456.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.7538, allocations: 4.375 kB / 456.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.7542, allocations: 115.9 kB / 456.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.7543, allocations: 192 / 456.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.7543, allocations: 7.938 kB / 456.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7543, allocations: 0 / 456.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.7547, allocations: 71.89 kB / 457 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.7559, allocations: 389.4 kB / 457.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.7565, allocations: 145 kB / 457.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.7568, allocations: 61.77 kB / 457.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.7568, allocations: 0 / 457.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.7573, allocations: 141 kB / 457.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.765e-06/0.7574, allocations: 0 / 457.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008465/0.7583, allocations: 253.5 kB / 458 MB, free: 14.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7584, allocations: 89.11 kB / 458.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.7587, allocations: 187 kB / 458.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.7587, allocations: 41.69 kB / 458.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7589, allocations: 104.6 kB / 458.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.7589, allocations: 43.53 kB / 458.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.759, allocations: 4 kB / 458.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7591, allocations: 334.8 kB / 458.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.7594, allocations: 88.47 kB / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.7598, allocations: 123.5 kB / 459 MB, free: 13.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.7603, allocations: 207.9 kB / 459.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.7603, allocations: 0 / 459.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007663/0.7611, allocations: 290 kB / 459.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.7612, allocations: 4 kB / 459.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.7612, allocations: 11.92 kB / 459.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7612, allocations: 4.062 kB / 459.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.7614, allocations: 27.92 kB / 459.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.7615, allocations: 4 kB / 459.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.7616, allocations: 19.84 kB / 459.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.7617, allocations: 12.08 kB / 459.5 MB, free: 12.52 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 () * Number of clocked 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.0002263/0.7619, allocations: 154.4 kB / 459.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.762, allocations: 19.8 kB / 459.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.762, allocations: 9.406 kB / 459.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.762, allocations: 4 kB / 459.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.762, allocations: 0 / 459.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7621, allocations: 0 / 459.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.7624, allocations: 221.5 kB / 459.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7624, allocations: 0 / 459.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.7625, allocations: 15.98 kB / 460 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7625, allocations: 7.938 kB / 460 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.7625, allocations: 4 kB / 460 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7625, allocations: 0 / 460 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7626, allocations: 0 / 460 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.7631, allocations: 233.6 kB / 460.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.7632, allocations: 92.91 kB / 460.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.7633, allocations: 12 kB / 460.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.7634, allocations: 7.984 kB / 460.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.7635, allocations: 7.984 kB / 460.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.7635, allocations: 11.98 kB / 460.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.7637, allocations: 123.2 kB / 460.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7637, allocations: 0 / 460.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005588/0.7643, allocations: 67.94 kB / 460.5 MB, free: 11.45 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]) * Number of clocked states: 0 () * 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.0007279/0.765, allocations: 254.8 kB / 460.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.7657, allocations: 248.1 kB / 461 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7658, allocations: 0 / 461 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.766, allocations: 72.03 kB / 461.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.7663, allocations: 13.7 kB / 461.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.7671, allocations: 304.7 kB / 461.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.7675, allocations: 0.7083 MB / 462.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.7676, allocations: 11.44 kB / 462.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7676, allocations: 0 / 462.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01134/0.7789, allocations: 2.618 MB / 464.7 MB, free: 7.188 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches