Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02175/0.02175, allocations: 4.018 MB / 19.27 MB, free: 2.508 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008299/0.0008302, allocations: 180.5 kB / 20.92 MB, free: 0.8633 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 248.1 MB, free: 5.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 97.22 kB / 300.1 MB, free: 5.535 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 362 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 51.18 MB / 413.2 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001429/0.21, allocations: 1.228 MB / 414.4 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2118, allocations: 1.776 MB / 416.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.2118, allocations: 3.938 kB / 416.2 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.212, allocations: 7.938 kB / 416.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.212, allocations: 15.86 kB / 416.2 MB, free: 23.13 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.2127, allocations: 192.8 kB / 416.4 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2128, allocations: 147.7 kB / 416.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.2129, allocations: 6.375 kB / 416.5 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.213, allocations: 63.75 kB / 416.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.2131, allocations: 51.7 kB / 416.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2131, allocations: 8 kB / 416.6 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.2134, allocations: 203.6 kB / 416.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.2134, allocations: 15.92 kB / 416.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.2135, allocations: 81.38 kB / 416.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.2138, allocations: 275.3 kB / 417.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2138, allocations: 0 / 417.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2138, allocations: 0 / 417.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2138, allocations: 0 / 417.2 MB, free: 22.1 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001139/0.215, allocations: 1.311 MB / 418.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.215, allocations: 8.031 kB / 418.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.2153, allocations: 48.78 kB / 418.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.2155, allocations: 212.1 kB / 418.8 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2156, allocations: 12.38 kB / 418.8 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.2156, allocations: 8.375 kB / 418.8 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2159, allocations: 173.8 kB / 419 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2159, allocations: 0 / 419 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2159, allocations: 4 kB / 419 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.216, allocations: 0 / 419 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.2162, allocations: 147.9 kB / 419.1 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.2167, allocations: 368.6 kB / 419.5 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.217, allocations: 226.4 kB / 419.7 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.2172, allocations: 188.8 kB / 419.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.2172, allocations: 4 kB / 419.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.2175, allocations: 296.4 kB / 420.2 MB, free: 18.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2175, allocations: 3.938 kB / 420.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007511/0.2183, allocations: 487.1 kB / 420.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.2183, allocations: 105 kB / 420.8 MB, free: 18.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.2184, allocations: 160.6 kB / 420.9 MB, free: 18.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2185, allocations: 25.7 kB / 420.9 MB, free: 18.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.2185, allocations: 100.5 kB / 421 MB, free: 18.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.2185, allocations: 35.55 kB / 421.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.2185, allocations: 0 / 421.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.2186, allocations: 338.8 kB / 421.4 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2188, allocations: 95.95 kB / 421.5 MB, free: 17.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2189, allocations: 101.3 kB / 421.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.2193, allocations: 284.8 kB / 421.9 MB, free: 17.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2193, allocations: 0 / 421.9 MB, free: 17.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004195/0.2197, allocations: 309.5 kB / 422.2 MB, free: 16.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.2198, allocations: 53.67 kB / 422.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2198, allocations: 0 / 422.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2198, allocations: 0 / 422.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2199, allocations: 23.98 kB / 422.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2199, allocations: 176 / 422.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.22, allocations: 35.77 kB / 422.3 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.2201, allocations: 19.97 kB / 422.3 MB, free: 16.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r,globalSeed.id_impure,discreteNoise.localSeed,discreteNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001142/0.2202, allocations: 183.5 kB / 422.5 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.2202, allocations: 19.81 kB / 422.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2203, allocations: 8.844 kB / 422.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2203, allocations: 3.984 kB / 422.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2203, allocations: 4 kB / 422.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2203, allocations: 0 / 422.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2204, allocations: 221.5 kB / 422.7 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2204, allocations: 3.938 kB / 422.7 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.2205, allocations: 15.98 kB / 422.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2205, allocations: 0 / 422.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2206, allocations: 15.98 kB / 422.8 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2206, allocations: 0 / 422.8 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2206, allocations: 0 / 422.8 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.2214, allocations: 0.6001 MB / 423.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.2214, allocations: 97.03 kB / 423.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.2215, allocations: 12 kB / 423.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.2216, allocations: 15.98 kB / 423.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2216, allocations: 11.98 kB / 423.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.2217, allocations: 23.97 kB / 423.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.2217, allocations: 121.2 kB / 423.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2217, allocations: 0 / 423.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.222, allocations: 91.92 kB / 423.7 MB, free: 15.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004113/0.2224, allocations: 279.6 kB / 424 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.223, allocations: 447.2 kB / 424.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.223, allocations: 4 kB / 424.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.2233, allocations: 367.2 kB / 424.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.2235, allocations: 23.92 kB / 424.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.224, allocations: 395.9 kB / 425.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2242, allocations: 0.7121 MB / 425.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.2242, allocations: 16.64 kB / 426 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.2242, allocations: 15.42 kB / 426 MB, free: 12.89 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2242, allocations: 0 / 426 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Templates: time 0.00482/0.2291, allocations: 3.004 MB / 429 MB, free: 9.914 MB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1)