Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002177/0.002177, allocations: 178.5 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008624/0.0008625, allocations: 99.16 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3024, allocations: 47.59 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00165/0.3041, allocations: 1.212 MB / 377.8 MB, free: 44.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3055, allocations: 1.023 MB / 378.8 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.3055, allocations: 0 / 378.8 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3056, allocations: 5 kB / 378.8 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3057, allocations: 18.06 kB / 378.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.3063, allocations: 123.1 kB / 379 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3064, allocations: 105.8 kB / 379.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.3065, allocations: 10.44 kB / 379.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.3066, allocations: 44.58 kB / 379.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.3067, allocations: 58.78 kB / 379.2 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3067, allocations: 9.312 kB / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.3069, allocations: 103.8 kB / 379.3 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.307, allocations: 31.58 kB / 379.3 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.3071, allocations: 77.84 kB / 379.4 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3074, allocations: 203.1 kB / 379.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3074, allocations: 1.156 kB / 379.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3074, allocations: 0 / 379.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3074, allocations: 0 / 379.6 MB, free: 43.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006777/0.3081, allocations: 454.2 kB / 380.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3082, allocations: 9.562 kB / 380.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.3085, allocations: 33.73 kB / 380.1 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3086, allocations: 195.1 kB / 380.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3087, allocations: 11.89 kB / 380.3 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3087, allocations: 13.11 kB / 380.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.309, allocations: 120.7 kB / 380.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.309, allocations: 192 / 380.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.309, allocations: 7.922 kB / 380.4 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.309, allocations: 1.375 kB / 380.4 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3093, allocations: 72.36 kB / 380.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.31, allocations: 374.8 kB / 380.9 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.3103, allocations: 143.8 kB / 381 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3104, allocations: 63.78 kB / 381.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.3104, allocations: 1 kB / 381.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.3107, allocations: 136.6 kB / 381.2 MB, free: 41.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3107, allocations: 4 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005637/0.3113, allocations: 250.4 kB / 381.5 MB, free: 41.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3114, allocations: 88.3 kB / 381.5 MB, free: 41.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3115, allocations: 183.4 kB / 381.7 MB, free: 41.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.3116, allocations: 45 kB / 381.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.3116, allocations: 109.3 kB / 381.9 MB, free: 41.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3117, allocations: 39.33 kB / 381.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3117, allocations: 9.125 kB / 381.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.3118, allocations: 322.6 kB / 382.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.312, allocations: 104.1 kB / 382.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.3122, allocations: 135.7 kB / 382.5 MB, free: 40.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3125, allocations: 223.9 kB / 382.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3126, allocations: 0 / 382.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004868/0.313, allocations: 301.5 kB / 383 MB, free: 40.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3131, allocations: 13.09 kB / 383 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3131, allocations: 1.188 kB / 383 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3131, allocations: 5.906 kB / 383 MB, free: 40.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3133, allocations: 27.02 kB / 383 MB, free: 40.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3133, allocations: 1.344 kB / 383 MB, free: 40.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.3134, allocations: 23.23 kB / 383.1 MB, free: 40.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3134, allocations: 6.75 kB / 383.1 MB, free: 40.4 MB / 298.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): 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.0001215/0.3135, allocations: 154.8 kB / 383.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3135, allocations: 13.81 kB / 383.2 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.3136, allocations: 15.73 kB / 383.2 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3136, allocations: 1.25 kB / 383.2 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3136, allocations: 1.281 kB / 383.2 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3136, allocations: 5.203 kB / 383.3 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3138, allocations: 210.6 kB / 383.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3138, allocations: 1.281 kB / 383.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.3139, allocations: 15.27 kB / 383.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3139, allocations: 5.188 kB / 383.5 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3139, allocations: 9.062 kB / 383.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3139, allocations: 1.344 kB / 383.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3139, allocations: 1.406 kB / 383.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.3143, allocations: 231.5 kB / 383.7 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3144, allocations: 92.64 kB / 383.8 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.3144, allocations: 10.3 kB / 383.8 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.3145, allocations: 5.594 kB / 383.8 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.3145, allocations: 13.55 kB / 383.8 MB, free: 39.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3146, allocations: 6.734 kB / 383.8 MB, free: 39.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.3147, allocations: 124.8 kB / 384 MB, free: 39.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.3147, allocations: 0 / 384 MB, free: 39.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.315, allocations: 58.34 kB / 384 MB, free: 39.6 MB / 298.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 (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.0005638/0.3155, allocations: 247 kB / 384.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.316, allocations: 209.8 kB / 384.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.316, allocations: 1.219 kB / 384.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3161, allocations: 70.5 kB / 384.5 MB, free: 39.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3163, allocations: 6.25 kB / 384.5 MB, free: 39.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.3168, allocations: 280.3 kB / 384.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.317, allocations: 0.7106 MB / 385.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.826e-05/0.317, allocations: 19.33 kB / 385.5 MB, free: 38.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.3171, allocations: 14.22 kB / 385.6 MB, free: 38.36 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3171, allocations: 0 / 385.6 MB, free: 38.36 MB / 298.7 MB Notification: Performance of Templates: time 0.004739/0.3218, allocations: 1.996 MB / 387.6 MB, free: 37.04 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches