Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 93.11 kB / 16.04 MB, free: 5.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1169/0.1169, allocations: 12.63 MB / 29.41 MB, free: 5.941 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 4 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007666/0.007944, allocations: 2.824 MB / 43.1 MB, free: 5.949 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 1.623/1.631, allocations: 276.9 MB / 320 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/1.632, allocations: 479.7 kB / 320.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/1.633, allocations: 0 / 320.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/1.633, allocations: 3.938 kB / 320.5 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/1.633, allocations: 8.609 kB / 320.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/1.633, allocations: 95.03 kB / 320.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/1.634, allocations: 43.91 kB / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/1.634, allocations: 19.98 kB / 320.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/1.634, allocations: 19.86 kB / 320.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/1.634, allocations: 20.41 kB / 320.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/1.634, allocations: 3.5 kB / 320.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/1.634, allocations: 35.97 kB / 320.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/1.634, allocations: 19.92 kB / 320.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/1.634, allocations: 49.45 kB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/1.635, allocations: 91.61 kB / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.635, allocations: 0 / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.635, allocations: 0 / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/1.635, allocations: 0 / 320.9 MB, free: 10.47 MB / 250.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.0007126/1.635, allocations: 366.9 kB / 321.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.635, allocations: 12.03 kB / 321.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/1.636, allocations: 14.06 kB / 321.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/1.636, allocations: 197.7 kB / 321.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/1.636, allocations: 8.375 kB / 321.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/1.636, allocations: 6.219 kB / 321.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/1.636, allocations: 154.2 kB / 321.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.636, allocations: 2.125 kB / 321.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.636, allocations: 3.938 kB / 321.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.636, allocations: 0 / 321.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/1.637, allocations: 23.94 kB / 321.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/1.637, allocations: 273.1 kB / 321.9 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.637, allocations: 46.5 kB / 321.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/1.637, allocations: 24.86 kB / 322 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.638, allocations: 0.5831 MB / 322.5 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.638, allocations: 31.78 kB / 322.6 MB, free: 8.457 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/1.638, allocations: 0 / 322.6 MB, free: 8.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002855/1.639, allocations: 85.58 kB / 322.7 MB, free: 8.367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/1.639, allocations: 56.44 kB / 322.7 MB, free: 8.301 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/1.639, allocations: 146.4 kB / 322.9 MB, free: 8.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.639, allocations: 30.45 kB / 322.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/1.639, allocations: 89.98 kB / 323 MB, free: 8.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/1.639, allocations: 19.83 kB / 323 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/1.639, allocations: 0 / 323 MB, free: 8.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/1.639, allocations: 322.8 kB / 323.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/1.639, allocations: 21.14 kB / 323.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/1.639, allocations: 67.2 kB / 323.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/1.64, allocations: 78.06 kB / 323.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.64, allocations: 0 / 323.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002546/1.64, allocations: 113 kB / 323.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.64, allocations: 4 kB / 323.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.64, allocations: 8 kB / 323.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.64, allocations: 0 / 323.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/1.64, allocations: 19.98 kB / 323.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.64, allocations: 3.938 kB / 323.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/1.64, allocations: 8.594 kB / 323.6 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.64, allocations: 8 kB / 323.6 MB, free: 7.316 MB / 250.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 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.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 0.0001753/1.64, allocations: 136 kB / 323.8 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.641, allocations: 65.78 kB / 323.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/1.641, allocations: 90.27 kB / 323.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.641, allocations: 10.45 kB / 323.9 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.641, allocations: 0 / 323.9 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.641, allocations: 3.984 kB / 323.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/1.641, allocations: 173.6 kB / 324.1 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.641, allocations: 7.938 kB / 324.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/1.641, allocations: 4 kB / 324.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.641, allocations: 0 / 324.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.641, allocations: 4.984 kB / 324.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.641, allocations: 0 / 324.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.641, allocations: 240 / 324.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/1.642, allocations: 106.8 kB / 324.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.642, allocations: 97 kB / 324.3 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/1.642, allocations: 4.203 kB / 324.3 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/1.642, allocations: 4 kB / 324.3 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-06/1.642, allocations: 4 kB / 324.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.642, allocations: 0 / 324.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001485/1.642, allocations: 121.1 kB / 324.5 MB, free: 6.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.642, allocations: 0 / 324.5 MB, free: 6.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003719/1.642, allocations: 16 kB / 324.5 MB, free: 6.383 MB / 250.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.0002402/1.643, allocations: 111.2 kB / 324.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/1.643, allocations: 56.03 kB / 324.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.643, allocations: 0 / 324.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/1.643, allocations: 0 / 324.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/1.643, allocations: 86.81 kB / 324.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/1.644, allocations: 211.3 kB / 324.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/1.644, allocations: 0.7004 MB / 325.6 MB, free: 5.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.768e-05/1.644, allocations: 4.672 kB / 325.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/1.645, allocations: 15.44 kB / 325.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/1.645, allocations: 0 / 325.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of Templates: time 0.005906/1.65, allocations: 1.262 MB / 326.9 MB, free: 3.891 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches