Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.04097/0.04097, allocations: 4.019 MB / 19.27 MB, free: 2.535 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.001046/0.001046, allocations: 184.5 kB / 20.92 MB, free: 0.8867 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.395/1.395, allocations: 225.7 MB / 248.1 MB, free: 5.457 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.0007927/0.000793, allocations: 98.67 kB / 300.1 MB, free: 5.539 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 8 kB / 362 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2443, allocations: 51.18 MB / 413.1 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001379/0.2457, allocations: 1.238 MB / 414.4 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2477, allocations: 2.051 MB / 416.4 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.2478, allocations: 9.219 kB / 416.4 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2479, allocations: 19.8 kB / 416.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.248, allocations: 19.86 kB / 416.5 MB, free: 22.78 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.0005969/0.2486, allocations: 205.9 kB / 416.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.2488, allocations: 227.5 kB / 416.9 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.2488, allocations: 13.55 kB / 416.9 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.249, allocations: 95.66 kB / 417 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.2491, allocations: 78.69 kB / 417.1 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2491, allocations: 8 kB / 417.1 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.2493, allocations: 151.8 kB / 417.2 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.2494, allocations: 27.86 kB / 417.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.2495, allocations: 109.2 kB / 417.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2498, allocations: 267.2 kB / 417.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2498, allocations: 0 / 417.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2498, allocations: 0 / 417.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2498, allocations: 2.844 kB / 417.6 MB, free: 21.62 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001675/0.2515, allocations: 2.207 MB / 419.9 MB, free: 19.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2515, allocations: 8.031 kB / 419.9 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/0.2521, allocations: 112.6 kB / 420 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2523, allocations: 259.6 kB / 420.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2524, allocations: 12.38 kB / 420.2 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.2524, allocations: 8.375 kB / 420.2 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.2527, allocations: 260.2 kB / 420.5 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2527, allocations: 0 / 420.5 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2528, allocations: 4 kB / 420.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2528, allocations: 4 kB / 420.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2531, allocations: 231.8 kB / 420.7 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.2533, allocations: 258.2 kB / 421 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2536, allocations: 325.3 kB / 421.3 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.2538, allocations: 301.7 kB / 421.6 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2539, allocations: 7.984 kB / 421.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.2543, allocations: 0.5239 MB / 422.1 MB, free: 16.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.102e-06/0.2543, allocations: 0 / 422.1 MB, free: 16.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009359/0.2552, allocations: 0.7784 MB / 422.9 MB, free: 16.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2553, allocations: 156.5 kB / 423.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2554, allocations: 207.2 kB / 423.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2555, allocations: 25.7 kB / 423.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2555, allocations: 128.6 kB / 423.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.2556, allocations: 39.45 kB / 423.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.2556, allocations: 4 kB / 423.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.2556, allocations: 334.8 kB / 423.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.2558, allocations: 140.1 kB / 423.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.256, allocations: 147 kB / 424.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2564, allocations: 476.4 kB / 424.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2564, allocations: 0 / 424.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004669/0.2569, allocations: 472.9 kB / 425 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.257, allocations: 95.38 kB / 425.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.257, allocations: 3.938 kB / 425.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.257, allocations: 0 / 425.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2571, allocations: 27.97 kB / 425.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2571, allocations: 0 / 425.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.2572, allocations: 19.84 kB / 425.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.2573, allocations: 39.94 kB / 425.2 MB, free: 13.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: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001765/0.2575, allocations: 259.7 kB / 425.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.2575, allocations: 27.72 kB / 425.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.2575, allocations: 17.39 kB / 425.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2576, allocations: 0 / 425.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2576, allocations: 0 / 425.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2576, allocations: 7.938 kB / 425.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2577, allocations: 269.4 kB / 425.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2578, allocations: 4 kB / 425.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2578, allocations: 11.98 kB / 425.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2578, allocations: 0 / 425.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2579, allocations: 12 kB / 425.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2579, allocations: 0 / 425.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2579, allocations: 3.984 kB / 425.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.2586, allocations: 0.7077 MB / 426.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.2587, allocations: 132.8 kB / 426.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.2587, allocations: 27.92 kB / 426.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2589, allocations: 23.98 kB / 426.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.2589, allocations: 19.92 kB / 426.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.259, allocations: 39.94 kB / 426.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.2591, allocations: 143.2 kB / 426.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2591, allocations: 0 / 426.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.2594, allocations: 79.98 kB / 426.9 MB, free: 11.82 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: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0004564/0.2598, allocations: 283.8 kB / 427.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.2605, allocations: 0.7602 MB / 428 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2606, allocations: 0 / 428 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.261, allocations: 0.6471 MB / 428.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2613, allocations: 35.83 kB / 428.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.2619, allocations: 0.5677 MB / 429.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2621, allocations: 0.7238 MB / 429.9 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.2622, allocations: 20.59 kB / 430 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.2622, allocations: 15.38 kB / 430 MB, free: 8.707 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2622, allocations: 7.938 kB / 430 MB, free: 8.699 MB / 298.7 MB Notification: Performance of Templates: time 0.006025/0.2682, allocations: 3.684 MB / 433.7 MB, free: 5.047 MB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)