Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SDF_SDF.Examples.Playback.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.01007/0.01007, allocations: 0.8246 MB / 261.1 MB, free: 12.11 MB / 250.7 MB " [Timeout remaining time 180] Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") translateModel(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 331 MB, free: 18.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.435e-05, allocations: 5.125 kB / 331 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002028/0.002052, allocations: 1.661 MB / 332.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.004019, allocations: 1.89 MB / 334.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.004128, allocations: 0 / 334.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.006085, allocations: 240.5 kB / 334.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.006602, allocations: 156.6 kB / 335 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.006817, allocations: 79.67 kB / 335 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.006977, allocations: 163.4 kB / 335.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.007077, allocations: 17.28 kB / 335.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.007331, allocations: 118.3 kB / 335.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.007398, allocations: 39.83 kB / 335.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.007417, allocations: 8 kB / 335.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.007588, allocations: 123.7 kB / 335.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.008596, allocations: 2.835 MB / 338.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.009173, allocations: 0.7783 MB / 339.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01057, allocations: 2.609 MB / 341.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01057, allocations: 0 / 341.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.01057, allocations: 0 / 341.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.662e-05/0.01066, allocations: 0 / 341.7 MB, free: 8.035 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003441/0.0141, allocations: 4.725 MB / 346.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.01414, allocations: 8.75 kB / 346.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.01447, allocations: 477.7 kB / 346.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.01591, allocations: 1.84 MB / 348.8 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.01593, allocations: 4.375 kB / 348.8 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.01594, allocations: 4.375 kB / 348.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.01605, allocations: 62.94 kB / 348.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01606, allocations: 3.938 kB / 348.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.01607, allocations: 3.984 kB / 348.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01608, allocations: 4 kB / 348.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.445e-05/0.01611, allocations: 15.98 kB / 348.9 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.01801, allocations: 1.732 MB / 350.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.01813, allocations: 47.11 kB / 350.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.01816, allocations: 19.67 kB / 350.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.01818, allocations: 3.938 kB / 350.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.01828, allocations: 77.03 kB / 350.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.01828, allocations: 3.938 kB / 350.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005137/0.0188, allocations: 0.5414 MB / 351.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.01883, allocations: 51.41 kB / 351.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006848/0.02568, allocations: 7.426 MB / 358.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.0257, allocations: 25.7 kB / 358.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.02688, allocations: 1.4 MB / 360.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.02709, allocations: 275.6 kB / 360.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00334/0.03043, allocations: 3.791 MB / 364.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.03057, allocations: 496.4 kB / 364.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.03257, allocations: 1.937 MB / 366.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.03551, allocations: 3.189 MB / 369.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.0391, allocations: 3.655 MB / 373.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/0.03912, allocations: 0 / 373.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.006766/0.04589, allocations: 7.383 MB / 380.9 MB, free: 348 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.04592, allocations: 8 kB / 380.9 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.04594, allocations: 0 / 380.9 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.74e-05/0.04599, allocations: 51.98 kB / 380.9 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/0.04974, allocations: 2.376 MB / 383.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/0.04986, allocations: 52.03 kB / 383.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.05119, allocations: 247.9 kB / 383.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.05151, allocations: 248 kB / 383.9 MB, free: 13.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTable.combiTimeTable.nextTimeEvent,$whenCondition1,timeTable.combiTimeTable.nextTimeEventScaled,$PRE.timeTable.combiTimeTable.nextTimeEventScaled,timeTable.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1555): * Single equations (assignments): 1555 * 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 0.0007341/0.05225, allocations: 0.5374 MB / 384.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.05276, allocations: 480.7 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.05317, allocations: 141 kB / 385 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.05317, allocations: 0 / 385 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.05317, allocations: 4.25 kB / 385 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.05318, allocations: 3.984 kB / 385 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.0548, allocations: 1.425 MB / 386.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.05481, allocations: 0 / 386.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.05485, allocations: 15.92 kB / 386.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.05485, allocations: 0 / 386.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.05486, allocations: 3.938 kB / 386.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.05486, allocations: 4 kB / 386.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.05486, allocations: 0 / 386.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.05535, allocations: 0.6099 MB / 387.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/0.05613, allocations: 0.6216 MB / 387.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.0564, allocations: 15.88 kB / 387.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.05669, allocations: 3.984 kB / 387.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.05672, allocations: 8 kB / 387.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.05673, allocations: 4 kB / 387.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002334/0.05906, allocations: 2.337 MB / 390.1 MB, free: 7.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05906, allocations: 3.938 kB / 390.1 MB, free: 7.074 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001926/0.06099, allocations: 1.508 MB / 391.6 MB, free: 5.566 MB / 314.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 ($whenCondition1,timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001101/0.06209, allocations: 493.5 kB / 392 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.0665, allocations: 4.374 MB / 396.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.0665, allocations: 0 / 396.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.06657, allocations: 35.59 kB / 396.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.06763, allocations: 168.1 kB / 396.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.07882, allocations: 13.09 MB / 409.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.0802, allocations: 1.683 MB / 411.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008934/0.08109, allocations: 478.7 kB / 411.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.08175, allocations: 494.2 kB / 412.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.08175, allocations: 4 kB / 412.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of Templates: time 0.1676/0.2494, allocations: 37.1 MB / 449.4 MB, free: 53.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f SDF_SDF.Examples.Playback.makefile [Timeout 660] (rm -f SDF_SDF.Examples.Playback.pipe ; mkfifo SDF_SDF.Examples.Playback.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback.pipe >> ../files/SDF_SDF.Examples.Playback.sim & (cd run_cvode && ../SDF_SDF.Examples.Playback -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 240] (rm -f SDF_SDF.Examples.Playback_gbode.pipe ; mkfifo SDF_SDF.Examples.Playback_gbode.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SDF_SDF.Examples.Playback_gbode.sim & (cd run_gbode && ../SDF_SDF.Examples.Playback -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > SDF_SDF.Examples.Playback_gbode.pipe 2>&1) [Timeout 240] (rm -f SDF_SDF.Examples.Playback_ida.pipe ; mkfifo SDF_SDF.Examples.Playback_ida.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SDF_SDF.Examples.Playback_ida.sim & (cd run_ida && ../SDF_SDF.Examples.Playback -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > SDF_SDF.Examples.Playback_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8472215379588306]