Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 204.3 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008455/0.0008455, allocations: 99.83 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3369, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001274/0.3383, allocations: 0.5895 MB / 412.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.3389, allocations: 478.7 kB / 413.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.3389, allocations: 4 kB / 413.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.339, allocations: 0 / 413.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.3391, allocations: 7.938 kB / 413.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.3394, allocations: 85.59 kB / 413.2 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.734e-05/0.3395, allocations: 39.86 kB / 413.2 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.3396, allocations: 26.14 kB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.3396, allocations: 15.94 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.3397, allocations: 19.86 kB / 413.3 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.3397, allocations: 0 / 413.3 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.3398, allocations: 39.95 kB / 413.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3399, allocations: 23.59 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.34, allocations: 53.52 kB / 413.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3401, allocations: 83.67 kB / 413.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3401, allocations: 0 / 413.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3401, allocations: 0 / 413.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.3402, allocations: 0 / 413.5 MB, free: 24.41 MB / 298.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.0004697/0.3406, allocations: 372.7 kB / 413.9 MB, free: 24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3407, allocations: 8.031 kB / 413.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.3407, allocations: 10.81 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3409, allocations: 204 kB / 414.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3409, allocations: 4.312 kB / 414.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3409, allocations: 8.375 kB / 414.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3412, allocations: 153.5 kB / 414.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3412, allocations: 4.188 kB / 414.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3412, allocations: 3.938 kB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3412, allocations: 4 kB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.3413, allocations: 19.98 kB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.3416, allocations: 273.7 kB / 414.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.3417, allocations: 42.52 kB / 414.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.3417, allocations: 24.89 kB / 414.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.3424, allocations: 0.5817 MB / 415.2 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3425, allocations: 34.56 kB / 415.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3425, allocations: 4 kB / 415.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000145/0.3426, allocations: 81.53 kB / 415.3 MB, free: 22.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3427, allocations: 63.3 kB / 415.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.3428, allocations: 144.3 kB / 415.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3428, allocations: 25.7 kB / 415.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.3428, allocations: 96.12 kB / 415.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3429, allocations: 7.906 kB / 415.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.3429, allocations: 4 kB / 415.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.3429, allocations: 322.8 kB / 416 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.343, allocations: 23.98 kB / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.343, allocations: 58 kB / 416 MB, free: 21.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.3431, allocations: 81.88 kB / 416.1 MB, free: 21.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3431, allocations: 3.938 kB / 416.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.3432, allocations: 109.5 kB / 416.2 MB, free: 21.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3432, allocations: 8 kB / 416.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.3432, allocations: 0 / 416.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.3432, allocations: 4 kB / 416.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.3433, allocations: 15.94 kB / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3433, allocations: 4.188 kB / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.3433, allocations: 7.891 kB / 416.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3434, allocations: 8.156 kB / 416.3 MB, free: 21.23 MB / 298.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 8.066e-05/0.3434, allocations: 141.7 kB / 416.4 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.3435, allocations: 77.64 kB / 416.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.3437, allocations: 82.33 kB / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3437, allocations: 0 / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3437, allocations: 0 / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3437, allocations: 0 / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.667e-05/0.3438, allocations: 181.6 kB / 416.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3438, allocations: 3.938 kB / 416.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.3438, allocations: 8.141 kB / 416.8 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3439, allocations: 0 / 416.8 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.3439, allocations: 3.984 kB / 416.8 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3439, allocations: 4 kB / 416.8 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3439, allocations: 240 / 416.8 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.344, allocations: 108.8 kB / 416.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.344, allocations: 96.94 kB / 417 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.344, allocations: 4 kB / 417 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.238e-05/0.3441, allocations: 4 kB / 417 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-06/0.3441, allocations: 0 / 417 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3441, allocations: 0 / 417 MB, free: 20.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.733e-05/0.3442, allocations: 121.2 kB / 417.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 0 / 417.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000187/0.3444, allocations: 20 kB / 417.1 MB, free: 20.29 MB / 298.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.0001539/0.3445, allocations: 123.1 kB / 417.2 MB, free: 20.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.3446, allocations: 55.97 kB / 417.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3446, allocations: 0 / 417.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3446, allocations: 0 / 417.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3449, allocations: 79.08 kB / 417.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.3453, allocations: 203.5 kB / 417.6 MB, free: 19.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3455, allocations: 0.6965 MB / 418.3 MB, free: 19.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.3455, allocations: 8.656 kB / 418.3 MB, free: 19.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3455, allocations: 11.44 kB / 418.3 MB, free: 19.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3456, allocations: 0 / 418.3 MB, free: 19.05 MB / 298.7 MB Notification: Performance of Templates: time 0.003172/0.3487, allocations: 1.261 MB / 419.5 MB, free: 17.8 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches