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.001315/0.001315, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001463/0.001462, allocations: 180.1 kB / 18.66 MB, free: 4.438 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.618/1.618, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001754/0.001754, allocations: 51.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1493, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003089/0.1524, allocations: 1.476 MB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1537, allocations: 0.5506 MB / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.1537, allocations: 0 / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1539, allocations: 19.88 kB / 377.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.795e-05/0.154, allocations: 15.8 kB / 377.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.1546, allocations: 159.5 kB / 377.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1548, allocations: 119.6 kB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.1549, allocations: 12.88 kB / 377.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.1549, allocations: 47.83 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.155, allocations: 55.75 kB / 377.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.155, allocations: 8 kB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.1553, allocations: 127.8 kB / 377.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.1554, allocations: 31.92 kB / 377.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.1555, allocations: 59.64 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1558, allocations: 219.1 kB / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1558, allocations: 0 / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1558, allocations: 0 / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1559, allocations: 0 / 378 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.0008056/0.1567, allocations: 462.5 kB / 378.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1567, allocations: 8.031 kB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.1571, allocations: 48.8 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1573, allocations: 192.2 kB / 378.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1573, allocations: 4.359 kB / 378.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1574, allocations: 16.36 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1577, allocations: 111.9 kB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1577, allocations: 192 / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1577, allocations: 3.938 kB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1577, allocations: 0 / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1579, allocations: 59.95 kB / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.1587, allocations: 373.5 kB / 379.3 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.159, allocations: 125.1 kB / 379.4 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1591, allocations: 61.75 kB / 379.5 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1591, allocations: 0 / 379.5 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3012/0.4603, allocations: 139 kB / 379.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.4604, allocations: 0 / 379.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006826/0.4611, allocations: 235.7 kB / 379.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.4612, allocations: 87.75 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.4614, allocations: 180.1 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.4614, allocations: 47.84 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.4615, allocations: 103.8 kB / 380.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.4616, allocations: 39.56 kB / 380.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4617, allocations: 61.42 kB / 380.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.4618, allocations: 331.3 kB / 380.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.462, allocations: 100.5 kB / 380.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4622, allocations: 129.8 kB / 380.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.4626, allocations: 217.1 kB / 381.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4626, allocations: 4.062 kB / 381.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005479/0.4632, allocations: 290.7 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4632, allocations: 5.5 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4633, allocations: 1.375 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.4633, allocations: 2.688 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.4635, allocations: 32 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4635, allocations: 5.375 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.4636, allocations: 26.78 kB / 381.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.4636, allocations: 12.5 kB / 381.5 MB, free: 12.2 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.0001783/0.4638, allocations: 148 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.4638, allocations: 17.91 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.4639, allocations: 13.86 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4639, allocations: 1.375 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4639, allocations: 0.6875 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4639, allocations: 1.703 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4642, allocations: 211.2 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4642, allocations: 4.297 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.4643, allocations: 11.3 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4643, allocations: 0.5938 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4643, allocations: 8.719 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4643, allocations: 1.688 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4643, allocations: 1.719 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.4648, allocations: 224.1 kB / 382.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.4648, allocations: 93.11 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4649, allocations: 15 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.465, allocations: 6.188 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.465, allocations: 13.22 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4651, allocations: 3.422 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.4652, allocations: 129.2 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4652, allocations: 0 / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004122/0.4657, allocations: 53.47 kB / 382.4 MB, free: 11.61 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.0005854/0.4662, allocations: 238.8 kB / 382.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.4667, allocations: 197.5 kB / 382.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4668, allocations: 0 / 382.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4669, allocations: 65.92 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.4671, allocations: 9.234 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.4676, allocations: 258.5 kB / 383.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.4678, allocations: 0.7088 MB / 383.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.4679, allocations: 17.55 kB / 383.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4679, allocations: 16.31 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4679, allocations: 0 / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Templates: time 0.006612/0.4745, allocations: 2.127 MB / 386 MB, free: 10.36 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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