Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02107/0.02107, allocations: 4.018 MB / 19.27 MB, free: 2.195 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.0007935/0.0007937, allocations: 180.5 kB / 20.92 MB, free: 0.7656 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.351/1.351, allocations: 225.7 MB / 248.1 MB, free: 5.496 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.0008317/0.0008316, allocations: 105.2 kB / 300.1 MB, free: 5.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 11.94 kB / 362 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 51.18 MB / 413.2 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.00141/0.2527, allocations: 1.188 MB / 414.3 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2543, allocations: 1.764 MB / 416.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2544, allocations: 0 / 416.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2545, allocations: 8.656 kB / 416.1 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2547, allocations: 17.14 kB / 416.1 MB, free: 23.17 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.0004221/0.2551, allocations: 151.6 kB / 416.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2553, allocations: 112.4 kB / 416.4 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.2554, allocations: 11.97 kB / 416.4 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.2555, allocations: 44.38 kB / 416.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.2555, allocations: 46.48 kB / 416.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2556, allocations: 0 / 416.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.2558, allocations: 151.8 kB / 416.6 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.2558, allocations: 23.91 kB / 416.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.2559, allocations: 57.44 kB / 416.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.2561, allocations: 203.5 kB / 416.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2561, allocations: 0 / 416.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2561, allocations: 7.062 kB / 416.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2562, allocations: 3.938 kB / 416.9 MB, free: 22.38 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004175/0.2566, allocations: 403.2 kB / 417.3 MB, free: 21.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2566, allocations: 8.031 kB / 417.3 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.257, allocations: 50.03 kB / 417.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2572, allocations: 216.6 kB / 417.6 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2572, allocations: 4.375 kB / 417.6 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2573, allocations: 12.12 kB / 417.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2574, allocations: 81.64 kB / 417.7 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2574, allocations: 0 / 417.7 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2575, allocations: 0 / 417.7 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2575, allocations: 0 / 417.7 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.2576, allocations: 67.83 kB / 417.8 MB, free: 21.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.2581, allocations: 360.6 kB / 418.1 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2582, allocations: 82.53 kB / 418.2 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.2583, allocations: 40.88 kB / 418.2 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2583, allocations: 0 / 418.2 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2584, allocations: 42.56 kB / 418.3 MB, free: 20.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.2584, allocations: 0 / 418.3 MB, free: 20.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003212/0.2587, allocations: 149.5 kB / 418.4 MB, free: 20.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2587, allocations: 55.41 kB / 418.5 MB, free: 20.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.2588, allocations: 148.2 kB / 418.6 MB, free: 20.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2589, allocations: 29.69 kB / 418.6 MB, free: 20.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.2589, allocations: 96.28 kB / 418.7 MB, free: 20.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2589, allocations: 35.55 kB / 418.8 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.2589, allocations: 0 / 418.8 MB, free: 20.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.259, allocations: 318.8 kB / 419.1 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.2591, allocations: 43.91 kB / 419.1 MB, free: 19.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.2591, allocations: 31.98 kB / 419.2 MB, free: 19.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2593, allocations: 88.77 kB / 419.2 MB, free: 19.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2593, allocations: 0 / 419.2 MB, free: 19.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00019/0.2595, allocations: 133.5 kB / 419.4 MB, free: 19.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2595, allocations: 7.938 kB / 419.4 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2595, allocations: 0 / 419.4 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2595, allocations: 4 kB / 419.4 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2596, allocations: 23.92 kB / 419.4 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2596, allocations: 0 / 419.4 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.2597, allocations: 7.938 kB / 419.4 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.2597, allocations: 27.95 kB / 419.4 MB, free: 19.64 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: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.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): 11 * 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 7.574e-05/0.2598, allocations: 121.8 kB / 419.6 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2599, allocations: 11.81 kB / 419.6 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.2602, allocations: 210.1 kB / 419.8 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.2603, allocations: 4 kB / 419.8 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2603, allocations: 0 / 419.8 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2603, allocations: 11.88 kB / 419.8 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.2605, allocations: 225.5 kB / 420 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2606, allocations: 0 / 420 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.2606, allocations: 12 kB / 420 MB, free: 18.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2606, allocations: 3.984 kB / 420 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2606, allocations: 8 kB / 420 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2607, allocations: 0 / 420 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2607, allocations: 0 / 420 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2609, allocations: 271.1 kB / 420.3 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.261, allocations: 101 kB / 420.4 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.261, allocations: 4 kB / 420.4 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.2611, allocations: 0 / 420.4 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2612, allocations: 15.92 kB / 420.4 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.2612, allocations: 31.95 kB / 420.5 MB, free: 18.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.2613, allocations: 111.2 kB / 420.6 MB, free: 18.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2613, allocations: 0 / 420.6 MB, free: 18.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000268/0.2615, allocations: 59.98 kB / 420.6 MB, free: 18.36 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: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.0004659/0.262, allocations: 259.2 kB / 420.9 MB, free: 18.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.2622, allocations: 111.8 kB / 421 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2622, allocations: 3.938 kB / 421 MB, free: 18.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2624, allocations: 119.3 kB / 421.1 MB, free: 17.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.2626, allocations: 15.92 kB / 421.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.263, allocations: 281.2 kB / 421.4 MB, free: 17.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2631, allocations: 0.7122 MB / 422.1 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.822e-05/0.2632, allocations: 28.34 kB / 422.1 MB, free: 16.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.2633, allocations: 19.42 kB / 422.1 MB, free: 16.8 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2633, allocations: 0 / 422.1 MB, free: 16.8 MB / 298.7 MB Notification: Performance of Templates: time 0.004399/0.2677, allocations: 2.23 MB / 424.4 MB, free: 14.57 MB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)