Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) 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 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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_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_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 109.4 kB / 18.4 MB, free: 4.668 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.001242/0.001242, allocations: 185.2 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 48.14 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08129, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002611/0.08394, allocations: 1.483 MB / 377.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.085, allocations: 0.5553 MB / 377.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.08507, allocations: 0 / 377.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.08518, allocations: 11.88 kB / 377.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.08525, allocations: 19.8 kB / 377.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.08585, allocations: 155.5 kB / 378 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.08601, allocations: 111.7 kB / 378.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.08607, allocations: 12.86 kB / 378.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.08614, allocations: 55.72 kB / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.08621, allocations: 55.75 kB / 378.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.08624, allocations: 12 kB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.08649, allocations: 123.8 kB / 378.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.08656, allocations: 39.83 kB / 378.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.08663, allocations: 59.72 kB / 378.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.08696, allocations: 211.3 kB / 378.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.08697, allocations: 0 / 378.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08698, allocations: 0 / 378.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.08699, allocations: 0 / 378.7 MB, free: 1.688 MB / 318.1 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.0006359/0.08763, allocations: 450.9 kB / 379.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.08767, allocations: 11.97 kB / 379.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.08802, allocations: 44.72 kB / 379.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.08819, allocations: 200 kB / 379.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.08823, allocations: 8.375 kB / 379.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.08825, allocations: 4.375 kB / 379.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.08847, allocations: 115.9 kB / 379.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.08849, allocations: 192 / 379.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.08851, allocations: 7.922 kB / 379.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.08852, allocations: 0 / 379.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.08869, allocations: 59.91 kB / 379.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.08932, allocations: 369.5 kB / 379.9 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.08962, allocations: 137 kB / 380.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.08973, allocations: 53.77 kB / 380.1 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.08975, allocations: 3.984 kB / 380.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1742/0.2639, allocations: 136.9 kB / 380.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.264, allocations: 0 / 380.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005578/0.2645, allocations: 236.6 kB / 380.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2646, allocations: 92.95 kB / 380.6 MB, free: 11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.2648, allocations: 176.7 kB / 380.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2648, allocations: 48.25 kB / 380.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.2649, allocations: 106.4 kB / 380.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2649, allocations: 37.09 kB / 380.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.265, allocations: 61.12 kB / 381 MB, free: 10.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.2651, allocations: 329 kB / 381.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.2653, allocations: 101.3 kB / 381.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2655, allocations: 132.9 kB / 381.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2658, allocations: 217.7 kB / 381.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2658, allocations: 1.406 kB / 381.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004278/0.2662, allocations: 296.7 kB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2662, allocations: 8.219 kB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2662, allocations: 0 / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2663, allocations: 4.25 kB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2664, allocations: 27.88 kB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.2664, allocations: 5.062 kB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.2665, allocations: 24.67 kB / 382.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2666, allocations: 10.09 kB / 382.1 MB, free: 10.35 MB / 318.1 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,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001241/0.2667, allocations: 145.3 kB / 382.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2667, allocations: 13.84 kB / 382.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.2668, allocations: 16 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2668, allocations: 1.688 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2668, allocations: 5.328 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2668, allocations: 1.125 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.267, allocations: 215.1 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.267, allocations: 0.625 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2671, allocations: 11.8 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2671, allocations: 0.5312 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2671, allocations: 2.797 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2671, allocations: 6.094 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2671, allocations: 1.656 kB / 382.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.2675, allocations: 227.5 kB / 382.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2675, allocations: 86.02 kB / 382.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.2676, allocations: 10.84 kB / 382.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.2677, allocations: 6.141 kB / 382.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.2677, allocations: 12.97 kB / 382.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2678, allocations: 8.016 kB / 382.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2679, allocations: 128 kB / 383 MB, free: 9.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2679, allocations: 0.5938 kB / 383 MB, free: 9.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.2683, allocations: 49.42 kB / 383.1 MB, free: 9.762 MB / 318.1 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 (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.0005673/0.2689, allocations: 245.5 kB / 383.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.2694, allocations: 197.3 kB / 383.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2695, allocations: 0 / 383.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2696, allocations: 62.12 kB / 383.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2698, allocations: 14.39 kB / 383.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.2705, allocations: 293 kB / 383.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2707, allocations: 0.7075 MB / 384.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.2708, allocations: 14.97 kB / 384.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2708, allocations: 192 / 384.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of Templates: time 0.005442/0.2762, allocations: 2.457 MB / 387 MB, free: 8.461 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches